[CMake] Using cache in -P scripts?

Abe Stephens abe at sci.utah.edu
Wed Oct 22 23:53:36 EDT 2008


Hi, Is it possible for a script executed during build (via custom  
command of cmake -P) to load and read values from the project's  
CMakeCache.txt file? I tried using load_cache in the script, but  
apparently that isn't allowed.

Thanks-
Abe




More information about the CMake mailing list