Hi

I want to use set(... CACHE ...) to make a cached variable I can
change with cmake-gui/changing CMakeCache.txt. This is simple, but not
as powerful as I require. Some options should be visible in gui only
if another one is enabled. Example:

set(SomeVar FALSE CACHE BOOL "If SomeVar is enabled")
set(SomethingThatDependsOnSomeVar "none" CACHE STRING "Depends on
'SomeVar = TRUE'")

Is that possible with current or future version of CMake?
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to