[CMake] cmake -DX=Y -P : problem unsetting variables defined on command line

Sergey Zakharchenko doublef.mobile at gmail.com
Thu Feb 9 10:54:28 EST 2017


Hello Nils,

>> cmake -DX=Y -P x.cmake
>
>
> The above sets the *cache* variable X.

OK, I didn't think that really applied as the script is executed
standalone, so there's no cache in the regular sense of the word.
Thanks for the explanation.

Best regards,

-- 
DoubleF


More information about the CMake mailing list