summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-06 21:52:16 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-06 21:52:16 (GMT)
commit123759d9f588ce53a6109e57e41b3e656448bbe2 (patch)
treecc4bf76ed61f94104dfbdec93bed50f7b8cccfba /bootstrap
parent51301d8cc6d8163bbb30bde202109f8289327aa4 (diff)
downloadCMake-123759d9f588ce53a6109e57e41b3e656448bbe2.zip
CMake-123759d9f588ce53a6109e57e41b3e656448bbe2.tar.gz
CMake-123759d9f588ce53a6109e57e41b3e656448bbe2.tar.bz2
ENH: Add rebuild_cache
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 6a5ea7e..e473451 100755
--- a/bootstrap
+++ b/bootstrap
@@ -648,6 +648,10 @@ for a in ${KWSYS_CXX_SOURCES}; do
echo "${a}.o : ${src} ${dep}" >> "${cmake_bootstrap_dir}/Makefile"
echo " ${cmake_cxx_compiler} ${cmake_cxx_flags} -DKWSYS_NAMESPACE=cmsys -c ${src} -o ${a}.o" >> "${cmake_bootstrap_dir}/Makefile"
done
+cat>>"${cmake_bootstrap_dir}/Makefile"<<EOF
+rebuild_cache:
+ cd "${cmake_binary_dir}" && "${cmake_source_dir}/bootstrap"
+EOF
# Write our default settings to Bootstrap.cmk/InitialCacheFlags.cmake.
cat > "${cmake_bootstrap_dir}/InitialCacheFlags.cmake" <<EOF