diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-06 21:52:16 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-06 21:52:16 (GMT) |
commit | 123759d9f588ce53a6109e57e41b3e656448bbe2 (patch) | |
tree | cc4bf76ed61f94104dfbdec93bed50f7b8cccfba /bootstrap | |
parent | 51301d8cc6d8163bbb30bde202109f8289327aa4 (diff) | |
download | CMake-123759d9f588ce53a6109e57e41b3e656448bbe2.zip CMake-123759d9f588ce53a6109e57e41b3e656448bbe2.tar.gz CMake-123759d9f588ce53a6109e57e41b3e656448bbe2.tar.bz2 |
ENH: Add rebuild_cache
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |