Question: where are cmake variables stored?
Answer: Variables are stored on the CMake cache. This is a file named CMakeCache. txt on the root of the build directory.