1.

I Set A Cmake Variable In My Environment, But It Didn't Change Anything. Why?

Answer»

CMake build settings are stored in the CMake cache corresponding to a project's build TREE. They are called CMake "cache entries" and have no relation to your command SHELL's environment variables. USE a CMake GUI (CMakeSetup on Windows or ccmake on UNIX) or the wizard mode (cmake -i) to edit cache entries. Initial values may also be specified for a build by using the -D command LINE argument to cmake when it is first RUN to produce a new build tree.

CMake build settings are stored in the CMake cache corresponding to a project's build tree. They are called CMake "cache entries" and have no relation to your command shell's environment variables. Use a CMake GUI (CMakeSetup on Windows or ccmake on UNIX) or the wizard mode (cmake -i) to edit cache entries. Initial values may also be specified for a build by using the -D command line argument to cmake when it is first run to produce a new build tree.



Discussion

No Comment Found