A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename SG_java -> simgrid-java.
[simgrid.git]
/
examples
/
java
/
commTime
/
CMakeLists.txt
diff --git
a/examples/java/commTime/CMakeLists.txt
b/examples/java/commTime/CMakeLists.txt
index
2404c0f
..
2ca1a7a
100644
(file)
--- a/
examples/java/commTime/CMakeLists.txt
+++ b/
examples/java/commTime/CMakeLists.txt
@@
-12,9
+12,10
@@
if(enable_java)
add_custom_command(
COMMENT "Building ${example}..."
OUTPUT ${example}_compiled
add_custom_command(
COMMENT "Building ${example}..."
OUTPUT ${example}_compiled
- DEPENDS ${sources} ${SIMGRID_JAR}
+ DEPENDS ${sources}
simgrid-java_jar
${SIMGRID_JAR}
COMMAND ${JAVA_COMPILE} -cp ${SIMGRID_JAR}
-d ${CMAKE_CURRENT_BINARY_DIR}/.. ${sources}
COMMAND ${JAVA_COMPILE} -cp ${SIMGRID_JAR}
-d ${CMAKE_CURRENT_BINARY_DIR}/.. ${sources}
+ COMMAND ${CMAKE_COMMAND} -E remove ${example}_compiled
COMMAND ${CMAKE_COMMAND} -E touch ${example}_compiled
)
add_custom_target(${example} ALL DEPENDS ${example}_compiled)
COMMAND ${CMAKE_COMMAND} -E touch ${example}_compiled
)
add_custom_target(${example} ALL DEPENDS ${example}_compiled)