[CMake] Is it possible to detecting if -C <initial-cache> was used, and if so which file was passed?

Harrison, Cyrus D. harrison37 at llnl.gov
Wed Apr 5 16:54:10 EDT 2017


Hi Everyone,

I have a simple quandary — I was wondering if -C <initial-cache> was used when cmake is run — is it possible to find the name of this file via any cmake state?

Thanks!
-Cyrus



More information about the CMake mailing list