Skip to content

cmake-gui makes CMakeCache.txt before a menu is presented (How to set -std=gnu++11?)

cmake-gui is nice, it gives you browsing buttons. But as damn near as I can tell, it only actually runs cmake one time.... and it does so before it's possible to see a menu or configure anything??? Am I stupid, or is cmake-gui stupid?

Why is there not an option to always regenerate CMakeCache.txt, and why is that not the default?

Consider, how does a user set the C++ standard? If it's set after Configure, then the Makefile ignores the setting if it's based on something in CMakeCache.txt. Like in my case, a check for the existence of C++'s nullptr.

Edited by mick-p1982
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information