David Cole wrote:
What do you mean? Do you get an error message? If so, send along the text of
the error...

OK

I didn't post the error becasue I could reproduce it... I just remember seeing it.

But now I got what happens, let me explain:

Say you have:

SET(CMAKE_CONFIGURATION_TYPES "WrongOne" CACHE INTERNAL "bla bla" FORCE)

when you run it you get:

CMake Error: Invalid configuration type in CMAKE_CONFIGURATION_TYPES: WrongOne (Valid types are Debug,Release,MinSizeRel,RelWithDebInfo)

so you change it to:

SET(CMAKE_CONFIGURATION_TYPES "WrongOne" CACHE INTERNAL "bla bla" FORCE)

when you run it again, you get the same error (the generator still gets the old cached value instead of the new one)

you need to run it again to get it right.


--
Fernando Cacciola
SciSoft
http://fcacciola.50webs.com






_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to