Re: [CMake] setting a default build type

2006-09-08 Thread Laurentiu Nicolae
Hi, We are currently using MSBuild to select the build configuration. The command line looks like this: msbuild All.sln /property:Configuration=Release /logger:FileLogger,Microsoft.Build.Engine;logfile=All.log This line will build the ALL_BUILD target in release mode. (We tried to use VCBuild,

[CMake] setting a default build type

2006-09-07 Thread Brandon J. Van Every
On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and RelWithDebInfo build types. I want to keep all 4 of 'em. I want to select MinSizeRel as the default build, so that if an end user just fires up BUILD_ALL and does nothing else, he'll get a MinSizeRel build. The default

Re: [CMake] setting a default build type

2006-09-07 Thread Alan W. Irwin
On 2006-09-07 00:56-0700 Brandon J. Van Every wrote: On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and RelWithDebInfo build types. I want to keep all 4 of 'em. I want to select MinSizeRel as the default build, so that if an end user just fires up BUILD_ALL and does nothing

Re: [CMake] setting a default build type

2006-09-07 Thread Jan Woetzel
Alan W. Irwin wrote: Its a cached variable. So I think what you want is SET (CMAKE_BUILD_TYPE MinSizeRel CACHE STRING Flags used by the compiler No, Cmake (at least 2.4.2) is not generating any .suo file at all. Thus neither CMAKE_BUILD_TYPE nor CMAKE_CONFIGURATION_TYPES will help with

Re: [CMake] setting a default build type

2006-09-07 Thread Brandon J. Van Every
Brad King wrote: Brandon J. Van Every wrote: On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and RelWithDebInfo build types. I want to keep all 4 of 'em. I want to select MinSizeRel as the default build, so that if an end user just fires up BUILD_ALL and does

Re: [CMake] setting a default build type

2006-09-07 Thread Brad King
Brandon J. Van Every wrote: Brad King wrote: This would be a nice feature but I don't know how to implement it. Try generating a project and then manually editing the project files in such a way that the IDE selects a different configuration by default. Don't forget to remove the .suo and

Re: [CMake] setting a default build type

2006-09-07 Thread Alan W. Irwin
On 2006-09-07 09:35-0700 Brandon J. Van Every wrote: Alan W. Irwin wrote: On 2006-09-07 00:56-0700 Brandon J. Van Every wrote: On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and RelWithDebInfo build types. I want to keep all 4 of 'em. I want to select MinSizeRel as the

Re: [CMake] setting a default build type

2006-09-07 Thread Brandon J. Van Every
Alan W. Irwin wrote: On 2006-09-07 09:35-0700 Brandon J. Van Every wrote: Alan W. Irwin wrote: On 2006-09-07 00:56-0700 Brandon J. Van Every wrote: On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and RelWithDebInfo build types. I want to keep all 4 of 'em. I want to

Re: [Chicken-users] Re: [CMake] setting a default build type

2006-09-07 Thread Brandon J. Van Every
felix winkelmann wrote: On 9/7/06, Brandon J. Van Every [EMAIL PROTECTED] wrote: On MSVC my CMakeLists.txt generates Debug, Release, MinSizeRel, and RelWithDebInfo build types. I want to keep all 4 of 'em. I want to select MinSizeRel as the default build, so that if an end user just fires up