[CMake] Excluding a file from a particular configuration with Visual Studio

Josef Karthauser joe.karthauser at geomerics.com
Fri Oct 12 09:08:47 EDT 2007


> In my patched version at:
> 
> svn co svn://svn.luaplus.org/CMake/patches/All CMake
> 
> There is a new source file property called EXCLUDED_FROM_BUILD.
> 
> SET_SOURCE_FILES_PROPERTIES($(MY_SRCS) PROPERTIES EXCLUDED_FROM_BUILD
> true)
> 
> This handles Visual Studio .vcproj files, but it doesn't handle it on
a
> per configuration basis.  The patch may get you halfway there, though.

Brill, I'll check it out.  Ta.

Joe


More information about the CMake mailing list