[CMake] different obj dirs for debug and release

Davide Bacchet davide.bacchet at vi-grade.com
Wed May 16 12:18:08 EDT 2007


Hi,

it there a way to set different object directories for debug/release 
build (for gnu make and nmake targets)?
Now, the object files are placed in the LIBNAME.dir directories, but if 
I first build a debug version and then a release using the same 
CMakeLists files, the obj files will be overwritten.

The best option would be to build BOTH the debug and release versions 
with a single command, and store all the intermediate files in separate 
dirs.

Any suggestion is welcome! :)

Thanks,
Davide Bacchet

-- 
-----------------------------------------------------------------
Davide Bacchet
VI-grade Italy
Via Nazionale 74 - 33010 Tavagnacco (UD)
Mobile: +39-346-3775881
email:  davide.bacchet at vi-grade.com
-----------------------------------------------------------------



More information about the CMake mailing list