[CMake] setting a default build type

Laurentiu Nicolae Laurentiu.Nicolae at quintiq.com
Fri Sep 8 04:36:30 EDT 2006


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, but it's still buggy and doesn't parse the solution file
properly.)

You can do this in a batch file or a Perl script for all the builds you
need. I'm currently working on a nightly build script for our shop which
relies on CMake for generating the projects and uses MSBuild (or
IncrediBuild) for compiling. So far the generation and build part are
working perfectly.

Cheers,
Laurentiu
-- 

Laurentiu Nicolae
Senior Software Engineer
Quintiq

Tel: +31 (0)73 691 07 39
Fax: +31 (0)73 691 07 54
www.quintiq.com 

This message contains information that may be privileged or confidential
and is the property of Quintiq. It is only intended for the person to
whom it is addressed. If you are not the intended recipient, you are not
authorized to read, print, retain, copy, disseminate, distribute or use
this message or any part thereof. If you have received this message in
error, please notify the sender immediately and delete all copies of
this message. Please note that e-mails are susceptible to change,
therefore they are not binding.


More information about the CMake mailing list