Sylvain Benner wrote:
What's the canonical way of marking a file as being excluded from a
given Visual Studio configuration?
No this is not supported.
I think it's better to use preprocessor to do this kind of stuff.
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.
Josh
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake