diff options
Diffstat (limited to 'CMakeRules.make.in')
-rw-r--r-- | CMakeRules.make.in | 9 |
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 # |