> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Jakob Santner
> Sent: 12 October 2007 07:40
> To: [email protected]
> Subject: [CMake] Changing VS2005 Configuration
> 
> Hello,
> 
> I am using Visual Studio 8 and cmake 2.4p7 and am trying to set the
> configuration for a specific project to 'Release'. So I added
> 
> SET(CMAKE_BUILD_TYPE Release)
> 
> to CMakeLists.txt and ran cmake. The Visual Studio configuration
> manager
> still lists all projects in 'Debug' configuration.
> 
> What am I doing wrong?

For visual studio project files, you can set the configurations to
include using the CMAKE_CONFIGURATION_TYPES variable.

    SET(CMAKE_CONFIGURATION_TYPES Release)

Joe
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to