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

Nils Gladitz nilsgladitz at gmail.com
Thu May 1 14:26:17 EDT 2014


On 01.05.2014 20:16, Matthew Woehlke wrote:
>
> If CMAKE_BINARY_DIR were not cached, yes. But I don't think not 
> caching that is being suggested. It's not clear to me why the 
> *per-project* flavors need to be cached?
>

If they were regular instead of cache variables they would have scopes.
I guess this would break any project that currently referred to their 
sub- or sibling projects with those variables.

Nils


More information about the CMake mailing list