summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-09-20 14:35:02 (GMT)
committerBrad King <brad.king@kitware.com>2024-09-20 14:35:02 (GMT)
commitc5f7e3bc3b6cacc0cd8459cb8b016057f63f9e66 (patch)
tree73fb63475e5b269282ebb6e4ad5d09296ff16cb1 /Help/command
parentfdceee50e6c2bba0cd1903e13b3c63327cb3d53e (diff)
parent86ad7cc886cf477514689c44e02739401cd52402 (diff)
downloadCMake-c5f7e3bc3b6cacc0cd8459cb8b016057f63f9e66.zip
CMake-c5f7e3bc3b6cacc0cd8459cb8b016057f63f9e66.tar.gz
CMake-c5f7e3bc3b6cacc0cd8459cb8b016057f63f9e66.tar.bz2
Merge branch 'backport-project-vars' into project-vars
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/project.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/project.rst b/Help/command/project.rst
index 0188291..08694fd 100644
--- a/Help/command/project.rst
+++ b/Help/command/project.rst
@@ -44,6 +44,12 @@ Projects should not rely on ``<PROJECT-NAME>_SOURCE_DIR`` or
``<PROJECT-NAME>_BINARY_DIR`` holding a particular value outside of the scope
of the call to ``project()`` or one of its child scopes.
+.. versionchanged:: 3.30.4
+ If the variables ``<PROJECT-NAME>_SOURCE_DIR``,
+ ``<PROJECT-NAME>_BINARY_DIR``, or ``<PROJECT-NAME>_IS_TOP_LEVEL`` are
+ already set as non-cache variables when ``project(<PROJECT-NAME> ...)``
+ is called, the ``project()`` command will overwrite the previous values.
+
Options
^^^^^^^