[cmake-commits] king committed CMakeLists.txt 1.3 1.4
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed May 23 13:27:02 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/BuildDepends
In directory public:/mounts/ram/cvs-serv10769/Tests/BuildDepends
Modified Files:
CMakeLists.txt
Log Message:
BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/BuildDepends/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CMakeLists.txt 16 May 2007 11:54:59 -0000 1.3
+++ CMakeLists.txt 23 May 2007 17:27:00 -0000 1.4
@@ -60,5 +60,5 @@
if("${out}" STREQUAL "foo changed ")
message("Worked!")
else("${out}" STREQUAL "foo changed ")
- message(SEND_ERROR "Program did not rebuild with changed file")
+ message(SEND_ERROR "Project did not rebuild properly!")
endif("${out}" STREQUAL "foo changed ")
More information about the Cmake-commits
mailing list