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 <[email protected]>
wrote:

> short, you probably want to use add_custom_ta





-- 
Guillaume Dumont
=========================
[email protected]
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to