summaryrefslogtreecommitdiffstats
path: root/CMakeRules.make.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-02-23 00:24:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-02-23 00:24:43 (GMT)
commit0b0d1b1d436c6e59ed9ea5c25e1f454fc0ae7827 (patch)
treeed4c5e1e8bc331799cba8c2a797de8228f9f1f97 /CMakeRules.make.in
parent5d903c6b0f5622a149e0aeda1053ce82b39d2807 (diff)
downloadCMake-0b0d1b1d436c6e59ed9ea5c25e1f454fc0ae7827.zip
CMake-0b0d1b1d436c6e59ed9ea5c25e1f454fc0ae7827.tar.gz
CMake-0b0d1b1d436c6e59ed9ea5c25e1f454fc0ae7827.tar.bz2
ENH: add CMakeCache.txt support
Diffstat (limited to 'CMakeRules.make.in')
-rw-r--r--CMakeRules.make.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeRules.make.in b/CMakeRules.make.in
index 11b813b..7b73ca5 100644
--- a/CMakeRules.make.in
+++ b/CMakeRules.make.in
@@ -20,9 +20,16 @@ depend: ${CMAKE} ${SUBDIR_DEPEND}
clean: ${SUBDIR_CLEAN}
rm -f ${SRC_OBJ} ${EXECUTABLES}
-CMakeTargets.make: ${CMAKE} ${srcdir}/CMakeLists.txt
+CMakeTargets.make: ${CMAKE} ${srcdir}/CMakeLists.txt
${CMAKE} ${currentdir}/CMakeLists.txt -S${currentdir} -O${currentbindir} -H${topdir} -B${CMAKE_CONFIG_DIR}
+rebuild_cache: ${CMAKE_CONFIG_DIR}/CMakeCache.txt
+ rm -f ${CMAKE_CONFIG_DIR}/CMakeCache.txt
+ ${CMAKE} ${topdir}/CMakeLists.txt -MakeCache -S${topdir} -O${CMAKE_CONFIG_DIR} -H${topdir} -B${CMAKE_CONFIG_DIR}
+
+${CMAKE_CONFIG_DIR}/CMakeCache.txt:
+ ${CMAKE} ${topdir}/CMakeLists.txt -MakeCache -S${topdir} -O${CMAKE_CONFIG_DIR} -H${topdir} -B${CMAKE_CONFIG_DIR}
+
#------------------------------------------------------------------------------
# rules for the normal library
#