thanks Daniel, That solves the problem and works quite well.
best, Hari On Tue, Oct 27, 2009 at 10:44 AM, Daniel Teske <[email protected]>wrote: > On Wednesday 21 October 2009 16:37:16 ext Hari Sundar wrote: > > How can I specify multiple build configurations with CMake, so that it is > > available within Creator. I am using v1.2.92 > > > > When I use CMake to generate Visual Studio projects, I get 4 build > > configurations, release, debug, minsizedrelease, releasewithdebuginfo > > > > How do I get these within Creator ? > > It's a little bit more complicated (and also a little bit more flexible.) > > To use multiple different build configurations, I would strongly recommend > a > different build directory per build configuration. > > By default no parameters are passed to cmake, thus the default is (IIRC) > RelWithDebInfo (which is Release with Debug Information). > > To create additional buildconfigurations switch to the projects pane and > choose > "Add" next to the "Edit BuildConfiguration" label, choose create, choose a > different build directory and on the second wizard page enter, one of: > -DCMAKE_BUILD_TYPE=None > -DCMAKE_BUILD_TYPE=Debug > -DCMAKE_BUILD_TYPE=Release > -DCMAKE_BUILD_TYPE=RelWithDebInfo > -DCMAKE_BUILD_TYPE=MinSizeRel > into the arguments line edit. > > That should work. > > daniel > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > -- 1 (215) 501 7752 http://www.seas.upenn.edu/~hsundar/
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
