[CMake] CMAKE_CONFIGURATION_TYPES & MSVC7.0
Jan Woetzel
jw at mip.informatik.uni-kiel.de
Tue Jan 3 09:30:42 EST 2006
xavier delannoy wrote:
> I 'd like to restrict to Debug and Release only, thus I tried:
>
> SET(CMAKE_CONFIGURATION_TYPES "Debug;Release") in my CMakeList.txt
> (which is located in the root directory of my project)
>
> When I edit CMakeCache.txt by hand, it's ok.
CMake is creating a cache entry fro them,
so you need to force it.
Example:
SET(CMAKE_CONFIGURATION_TYPES "Debug"
CACHE STRING "semicolon separated list og configuration types,
usually Debug;Release (forced!)" FORCE)
--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--------------------------------------------------
Phone +49-431-880-4477
Fax +49-431-880-4054
Mob. +49-179-2937346
--------------------------------------------------
Url www.mip.informatik.uni-kiel.de/~jw
Email jw at mip.informatik.uni-kiel.de
More information about the CMake
mailing list