Re: [CMake] CMake and Visual Studio configurations

2009-12-06 Thread Tyler Roscoe
On Sun, Dec 06, 2009 at 03:44:12PM +0800, Romain CHANU wrote: > When we choose "Debug" or "Release" configuration in Visual Studio, is there > a way for CMake to apply different compilations / linking rules? Look at the COMPILE_FLAGS_ and LINK_FLAGS_ properties. tyler

[CMake] CMake and Visual Studio configurations

2009-12-05 Thread Romain CHANU
Hi, When we choose "Debug" or "Release" configuration in Visual Studio, is there a way for CMake to apply different compilations / linking rules? For what I have seen on the mailing list, we can set "CMAKE_CONFIGURATION_TYPES" to only use a particular configuration in VS, but what if we want to u