Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread BlinkEye
make ." at the command prompt, I get > the particular build type set in my makefiles? > > > > Thanks and Regards > > Anupam Malhotra > > > > ____ > > From: David Cole [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2008 6:23 PM

Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread Malhotra, Anupam
Subject: Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux Visual Studio and Xcode are special cases where you can select in the IDE which type of build to run. If you are generating Makefiles then you need to set the CMAKE_BUILD_TYPE in cmake _before_ generating the makefiles. The easiest way t

Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread Malhotra, Anupam
Subject: Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux With a make file generator, you do set CMAKE_BUILD_TYPE to Debug or Release at configure time. Then, if you want both builds, you need to have two build trees, one configured for Debug, the other for Release. The part of the Wiki

Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread Mike Jackson
Visual Studio and Xcode are special cases where you can select in the IDE which type of build to run. If you are generating Makefiles then you need to set the CMAKE_BUILD_TYPE in cmake _before_ generating the makefiles. The easiest way to achieve this is to run ccmake and then select the CM

Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread BlinkEye
On Tue, March 4, 2008 11:27, Malhotra, Anupam wrote: > CMAKE_BUILD_TYPE is not initialized with a readable value at > configuration time. This is because the user is free to select a build > type at build time. Now in visual studio 6/visual studio 8 2005 we can > select the build type by selecting

Re: [CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread David Cole
With a make file generator, you do set CMAKE_BUILD_TYPE to Debug or Release at configure time. Then, if you want both builds, you need to have two build trees, one configured for Debug, the other for Release. The part of the Wiki you are referring to only applies to IDEs that have their own project

[CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread Malhotra, Anupam
Hi I read on the CMake wiki page that: CMAKE_BUILD_TYPE is not initialized with a readable value at configuration time. This is because the user is free to select a build type at build time. Now in visual studio 6/visual studio 8 2005 we can select the build type by selecting Debug/Release

[CMake] Selecting DEBUG and RELEASE Builds in Linux

2008-03-04 Thread Malhotra, Anupam
Hi I read on the CMake wiki page that: CMAKE_BUILD_TYPE is not initialized with a readable value at configuration time. This is because the user is free to select a build type at build time. Now in visual studio 6/visual studio 8 2005 we can select the build type by selecting Debug/Release