[cmake-commits] king committed CMakeLists.txt 1.10 1.11
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jun 27 13:22:47 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/Java
In directory public:/mounts/ram/cvs-serv29105
Modified Files:
CMakeLists.txt
Log Message:
BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Java/CMakeLists.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- CMakeLists.txt 21 Jun 2007 18:06:52 -0000 1.10
+++ CMakeLists.txt 27 Jun 2007 17:22:45 -0000 1.11
@@ -34,7 +34,7 @@
${CMAKE_Java_ARCHIVE}
-cvf hello.jar *.class)
- ADD_CUSTOM_TARGET(hello.jar ALL
+ ADD_CUSTOM_TARGET(hello_jar ALL
DEPENDS ${hello_BINARY_DIR}/hello.jar)
ENDIF(NOT OLD_CUSTOM_COMMAND_WAY)
More information about the Cmake-commits
mailing list