summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorPeter Waller <p@pwaller.net>2019-08-20 21:32:50 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-27 14:51:40 (GMT)
commit4ca0526f8a78e7abbd08e9978d4110f836ccef9b (patch)
tree619d1ab993466c1250f2fca9c1ffcb1f4a40bd8e /Help/release
parent43fe736b2bf272647fb24b481bdc9a585c0666ac (diff)
downloadCMake-4ca0526f8a78e7abbd08e9978d4110f836ccef9b.zip
CMake-4ca0526f8a78e7abbd08e9978d4110f836ccef9b.tar.gz
CMake-4ca0526f8a78e7abbd08e9978d4110f836ccef9b.tar.bz2
cmake: Pass -S and -B into PreLoad.cmake and -C scripts
Before this, it was not possible to see what the source or build directories were set to on the command line. Fixes: #19619
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/cmake-initial-cache-dirs.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/cmake-initial-cache-dirs.rst b/Help/release/dev/cmake-initial-cache-dirs.rst
new file mode 100644
index 0000000..be91902
--- /dev/null
+++ b/Help/release/dev/cmake-initial-cache-dirs.rst
@@ -0,0 +1,6 @@
+cmake-initial-cache-dirs
+------------------------
+
+* The :manual:`cmake(1)` ``-C <initial-cache>`` option now evaluates the
+ initial cache script with :variable:`CMAKE_SOURCE_DIR` and
+ :variable:`CMAKE_BINARY_DIR` set to the top-level source and build trees.