mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
project: Always set <PROJECT-NAME>_* as normal variables
Re-introduce the behavior originally introduced in CMake 3.30.3 by
commit c1ece78d11 (project: non cache <project> prefix variables are
also created, 2024-08-27, v3.30.3~2^2), but this time with a policy for
compatibility.
Issue: #25714
Issue: #26243
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
project-vars-policy
|
||||
-------------------
|
||||
|
||||
* The :command:`project` command now always sets
|
||||
:variable:`<PROJECT-NAME>_SOURCE_DIR`, :variable:`<PROJECT-NAME>_BINARY_DIR`,
|
||||
and :variable:`<PROJECT-NAME>_IS_TOP_LEVEL` as both normal variables and
|
||||
cache entries. See policy :policy:`CMP0180`.
|
||||
Reference in New Issue
Block a user