[CMake] Restoring a variable.. but only once!

Vitor Vasconcelos Araujo Silva vasconcv at loria.fr
Tue Jun 12 11:25:43 EDT 2007


> Have a look here at the _SET_FANCY macro:
> http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake?revision=668049&view=markup
> http://www.cmake.org/mailman/listinfo/cmake

    Hello Alex and all,

	I read it, but my case is a little bit different.
	I wish to define the CMAKE_BUILD_TYPE as the default type. But I don't 
want to use the FORCE rule, because my users may want to change it. My 
problem is: I'm only able to put the "Release" value in ccmake interface 
if I force it... I'm using Cmake 2.4 patch 3. Any tips?
	Thanks.

	Vitor Vasconcelos



More information about the CMake mailing list