summaryrefslogtreecommitdiffstats
path: root/Tests/Java/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-23 19:34:34 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-23 19:34:34 (GMT)
commit1198106e3c701588bfa6d20abc6dc216490d064c (patch)
tree597daabc019287ea800fcb739892f063f874717b /Tests/Java/CMakeLists.txt
parente5fdf8335c19001ed162061e9f47b2e1876e557a (diff)
downloadCMake-1198106e3c701588bfa6d20abc6dc216490d064c.zip
CMake-1198106e3c701588bfa6d20abc6dc216490d064c.tar.gz
CMake-1198106e3c701588bfa6d20abc6dc216490d064c.tar.bz2
ENH: use the right name for the test
Diffstat (limited to 'Tests/Java/CMakeLists.txt')
-rw-r--r--Tests/Java/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt
index 4eccbfd..cd9f078 100644
--- a/Tests/Java/CMakeLists.txt
+++ b/Tests/Java/CMakeLists.txt
@@ -24,13 +24,13 @@ IF(OLD_CUSTOM_COMMAND_WAY)
DEPENDS ${hello_BINARY_DIR}/A.class
COMMAND ${CMAKE_Java_COMPILER} ARGS -classpath . -d ${hello_BINARY_DIR} ${hello_SOURCE_DIR}/HelloWorld.java)
ADD_CUSTOM_COMMAND(
- OUTPUT ${hello_BINARY_DIR}/foo.jar
+ OUTPUT ${hello_BINARY_DIR}/hello.jar
DEPENDS ${hello_BINARY_DIR}/A.class ${hello_BINARY_DIR}/HelloWorld.class
COMMAND ${CMAKE_COMMAND}
ARGS -E chdir ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_Java_ARCHIVE}
-cvf foo.jar *.class)
- ADD_CUSTOM_TARGET(foo.jar ALL
- DEPENDS ${hello_BINARY_DIR}/foo.jar)
+ ADD_CUSTOM_TARGET(hello.jar ALL
+ DEPENDS ${hello_BINARY_DIR}/hello.jar)
ENDIF(OLD_CUSTOM_COMMAND_WAY)