On 13. Oct, 2010, at 10:52 , Andrea Galeazzi wrote:

> Does CMake allow to exclude from build some files but include them in the 
> list of project like Visual Studio or NetBeans?
> Cheers

Try this:

set_source_files_properties(src1.c src2.c src3.c PROPERTIES
  HEADER_FILE_ONLY TRUE)

Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
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