Eric BOIX wrote:
        Dear Brad King,

Quoting Brad King <[EMAIL PROTECTED]>:

To get options in the GUI they need to be cache settings. Use the CACHE form of the SET command.

IF(NOT CMAKE_BUILD_TYPE)
 SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
     "Build Configuration")
ENDIF(NOT CMAKE_BUILD_TYPE)


I had to add the FORCE flag in order to see the result appear in the GUIs.
I hope this is ok ?

Yes, I meant to include that in the example.

May I abuse and ask again about some hints on the *_INIT cmake variables
(e.g. CMAKE_CXX_FLAGS_DEBUG_INIT ) and their proper usage ?

These are implementation details in the CMake modules. They should not be used directly.

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

Reply via email to