X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41ac7e58ef132dea8cea9addf213671ae38229ac..861d5dd084064a6532906578f8be60b84f041b84:/examples/java/startKillTime/CMakeLists.txt diff --git a/examples/java/startKillTime/CMakeLists.txt b/examples/java/startKillTime/CMakeLists.txt index 0a9716ac34..4030159621 100644 --- a/examples/java/startKillTime/CMakeLists.txt +++ b/examples/java/startKillTime/CMakeLists.txt @@ -11,8 +11,8 @@ if(enable_java) add_custom_command( COMMENT "Building ${example}..." OUTPUT ${example}_compiled - DEPENDS ${sources} SG_java_jar ${SIMGRID_JAR} - COMMAND ${JAVA_COMPILE} -cp ${SIMGRID_JAR} + DEPENDS ${sources} simgrid-java_jar ${SIMGRID_JAR} + COMMAND ${JAVA_COMPILE} -classpath ${SIMGRID_JAR} -d ${CMAKE_CURRENT_BINARY_DIR}/.. ${sources} COMMAND ${CMAKE_COMMAND} -E remove ${example}_compiled COMMAND ${CMAKE_COMMAND} -E touch ${example}_compiled