[Cmake] Debug /release

David Svoboda xsvobod2 at informatics.muni.cz
Wed, 14 Jan 2004 11:10:44 +0100


I'd like to know some info about switching between debug and release
version in MSVC .NET:

1. in ccmake program I can choose DEBUG/RELEASE (in CMAKE_BUILD_TYPE) to
compile my project with required switches and macros. But in addition I
can switch this in MS Visual Studio - and as I could see, there is no
connection (consistence) between these to possibilities of switching DEBUG
and RELASE version, respective. Is there any reasonable way to bind it?

2. in MS Visual Studio - if DEBUG or RELEASE version is chosen, the
directories Debug and Release are created, respectively. Is there any way
in CMAKE to disable this so that the files were created in the current
working directory?


David Svoboda

----------------------
Faculty of Informatics, Masaryk University
Botanick=E1 68a, 602 00 BRNO, Czech Republic
e-mail: svoboda at fi.muni.cz
tel: +420-549 494 383