diff options
author | Brad King <brad.king@kitware.com> | 2024-09-20 14:35:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-09-20 14:35:02 (GMT) |
commit | c5f7e3bc3b6cacc0cd8459cb8b016057f63f9e66 (patch) | |
tree | 73fb63475e5b269282ebb6e4ad5d09296ff16cb1 /Help/command | |
parent | fdceee50e6c2bba0cd1903e13b3c63327cb3d53e (diff) | |
parent | 86ad7cc886cf477514689c44e02739401cd52402 (diff) | |
download | CMake-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.rst | 6 |
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 ^^^^^^^ |