When a Project is defined some project specific variables are set:
The scope of this variables seems to be inconsistent.
<PROJECT-NAME>_SOURCE_DIR and <PROJECT-NAME>_BINARY_DIR have global scope where the other variables only are defined within the current directory and its sub-directories.
Does someone know, if this is the intended behavior?
I want to use <PROJECT-NAME>_DESCRIPTION and others in another top-level CMake-Directory, where it isn’t available anymore.
In contrast the CMAKE_PROJECT_DESCRIPTION (which is linked to the very first project-call) is available globally.