[CMake] Excluded from build

Ryan Pavlik rpavlik at iastate.edu
Wed Oct 13 07:38:51 EDT 2010


Not sure about files inside a typical target, but you can add a custom target that does nothing but has your desired files listed as sources.  (Also, if you are looking to list files that aren't something that CMake knows should be compiled, like a text file/readme, configs, etc, those can just be included in the list of sources for any target no problem)

Hope this helps!

Ryan

----- Original message -----
  Does CMake allow to exclude from build some files but include them in 
the list of project like Visual Studio or NetBeans?
Cheers
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101013/48de7fe1/attachment.htm>


More information about the CMake mailing list