On Jun 17, 2009, at 11:06 AM, Charlie Sun wrote:

Hi,
I'm trying to do a linux build with both release and debug mode. In stead of builing out of source as indicated on the FAQ 4.15, I really need to do in the source build. currently, if I do a release build and then a debug build and then another release build. It will actually rebuild the release and forgets the previous release build. Is it because cmake is only generating one set of objective files when doing in-the-source, either release or debug? Is there a way to have both? Any help is greatly appreciated!

Regards,

Charlie


Is there a way to have both. Yes. Have Build Directories, even within the project dir.

So you have the following:

project
  |---DebugBuild
  |---ReleaseBuild
  |---CMakeLists.txt

I am curious why you think you need an in source build?


Mike Jackson
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to