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

_______________________________________________
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

Reply via email to