Marcel Loose wrote:
Hi all,
I feel rather stupid, but I fail to see whether there's any difference
between a CMake option (which is stored in the cache as a variable of
type bool) and a CMake variable of type bool that's being cached.
Both can be modified in a GUI like ccmake.
Is there any reason to prefer the former over the latter?
There is no difference, option is a bit shorter to write, and maybe more
descriptive.
-Bill
_______________________________________________
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