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,
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
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
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
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
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
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
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
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