[cmake-commits] king committed CMakeLists.txt 1.18 1.19
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 23 17:14:22 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/StringFileTest
In directory public:/mounts/ram/cvs-serv10402/Tests/StringFileTest
Modified Files:
CMakeLists.txt
Log Message:
ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/StringFileTest/CMakeLists.txt,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- CMakeLists.txt 23 Oct 2006 17:36:53 -0000 1.18
+++ CMakeLists.txt 23 Oct 2006 21:14:20 -0000 1.19
@@ -76,9 +76,6 @@
ENDFOREACH(var)
# Verify that the file was created recently.
-IF(NOT FILE_IS_NEWER "${file}" "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
- MESSAGE(FATAL_ERROR "IF(FILE_IS_NEWER) does not seem to work.")
-ENDIF(NOT FILE_IS_NEWER "${file}" "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
IF(NOT "${file}" IS_NEWER_THAN "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
MESSAGE(FATAL_ERROR "IF(FILE_IS_NEWER) does not seem to work.")
ENDIF(NOT "${file}" IS_NEWER_THAN "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
More information about the Cmake-commits
mailing list