summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-27 13:42:50 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-06-27 13:42:50 (GMT)
commita87e8056acf733c4ee3cbd87bc21966918bd8659 (patch)
treed976397b2ba11d19195f2c8f72387e8586e03548 /bootstrap
parent798d7626a01296bf6af6f8c2e1d1457faf665543 (diff)
parent6650b0fa43ef55e8bad9188c584f40d515f38bd6 (diff)
downloadCMake-a87e8056acf733c4ee3cbd87bc21966918bd8659.zip
CMake-a87e8056acf733c4ee3cbd87bc21966918bd8659.tar.gz
CMake-a87e8056acf733c4ee3cbd87bc21966918bd8659.tar.bz2
Merge topic 'bootstrap-cmake-locations'
6650b0fa bootstrap: Fix "make test" and "make package" targets (#14989) bc151757 bootstrap: Clarify name of configured source directory
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap9
1 files changed, 6 insertions, 3 deletions
diff --git a/bootstrap b/bootstrap
index a3cc0a3..b09023d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1477,9 +1477,11 @@ fi
# When bootstrapping on MinGW with MSYS we must convert the source
# directory to a windows path.
if ${cmake_system_mingw}; then
- cmake_root_dir=`cd "${cmake_source_dir}"; pwd -W`
+ CMAKE_BOOTSTRAP_SOURCE_DIR=`cd "${cmake_source_dir}"; pwd -W`
+ CMAKE_BOOTSTRAP_BINARY_DIR=`cd "${cmake_binary_dir}"; pwd -W`
else
- cmake_root_dir="${cmake_source_dir}"
+ CMAKE_BOOTSTRAP_SOURCE_DIR="${cmake_source_dir}"
+ CMAKE_BOOTSTRAP_BINARY_DIR="${cmake_binary_dir}"
fi
# Write CMake version
@@ -1487,7 +1489,8 @@ cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_MAJOR ${cmake_versi
cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_MINOR ${cmake_version_minor}"
cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_PATCH ${cmake_version_patch}"
cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION \"${cmake_version}\""
-cmake_report cmConfigure.h${_tmp} "#define CMAKE_ROOT_DIR \"${cmake_root_dir}\""
+cmake_report cmConfigure.h${_tmp} "#define CMAKE_BOOTSTRAP_SOURCE_DIR \"${CMAKE_BOOTSTRAP_SOURCE_DIR}\""
+cmake_report cmConfigure.h${_tmp} "#define CMAKE_BOOTSTRAP_BINARY_DIR \"${CMAKE_BOOTSTRAP_BINARY_DIR}\""
cmake_report cmConfigure.h${_tmp} "#define CMAKE_DATA_DIR \"/bootstrap-not-insalled\""
cmake_report cmConfigure.h${_tmp} "#define CMAKE_BOOTSTRAP"