[CMake] add files to visual studio without compliation

Jan Woetzel jw at mip.informatik.uni-kiel.de
Tue Oct 12 03:57:21 EDT 2004


Some of my files should not be compiled,
e.g. .cpp files included by another .cpp files (and header files).

However, they should be listed in Visual Studio for editing.

(1) How can I add files to a project/workspace without creating a 
compilation target for them using cmake ?


I added header files with an IF just for visual studio,
but this does not work for .cpp files (used for explicit template 
instantiation).

Best regards,
Jan.

-- 
Dipl.-Ing. Jan Woetzel
University of Kiel





More information about the CMake mailing list