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 VCBuil
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
Given a very basic HelloWorld application in Visual Studio, there is
only one way that I have found to force it to choose something other
than "Debug" by default: eliminate the "Debug" configuration.
In the very basic case (generated by Visual Studio wizard) there are
only two configurations:
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 select
Brad King wrote:
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 def
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 def
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 .s
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 noth
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 default build, so that if an end user just
fires up BUILD
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
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
Brandon J. Van Every wrote:
So, is there a mechanism to specify the default build type?
I think the .suo file stores this information which is not generated by
CMake, actually.
For now (as a workaround) you may want to add a batchfile to select a
configuration with devenv command line pa
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 else, he'll get a MinS
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 defau
14 matches
Mail list logo