[CMake] excluded from build in Visual Studio project
Guillaume Dumont
dumont.guillaume at gmail.com
Wed Jul 13 21:08:56 EDT 2016
Hi,
I think you can add any files to a library/executable target and they will
show up in the IDE. If the files are actual source code files such as
.cpp/.c/.cxx you can set HEADER_FILE_ONLY property on them so that they do
no get compiled when the target is built the
https://cmake.org/cmake/help/v3.6/prop_sf/HEADER_FILE_ONLY.html.
HTH
Guillaume
On Wed, Jul 13, 2016 at 6:40 PM, Craig Scott <craig.scott at crascit.com>
wrote:
> short, you probably want to use add_custom_ta
--
Guillaume Dumont
=========================
dumont.guillaume at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160713/5af682d4/attachment.html>
More information about the CMake
mailing list