[CMake] Are the [Project name]_SOURCE_DIR variables stored in the cache ?

John Drescher drescherjm at gmail.com
Thu May 1 13:35:14 EDT 2014


> I thought they probably were.  My question was really if the behaviour that
> results from that was desirable.  I can't see any reason why they should be
> cached as they aren't user configurable variables.  Would it break anything
> badly if they were not stored in the cache ?  It would result in more
> consistent behaviour IMHO.
>

Executing

cmake .

would fail in the bin folder if it had no way to know where the source
folder is.

John


More information about the CMake mailing list