Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make java-all: also build java examples under teshsuite/
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 5 Aug 2018 01:04:27 +0000 (03:04 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 5 Aug 2018 01:04:27 +0000 (03:04 +0200)
teshsuite/java/CMakeLists.txt

index de2af46..3c6e4c6 100644 (file)
@@ -18,6 +18,7 @@ foreach(example semaphoregc sleephostoff)
       COMMAND ${CMAKE_COMMAND} -E touch ${example}/java-${example}_compiled
     )
     add_custom_target(java-${example} ALL DEPENDS java-${example}_compiled)
+    add_dependencies(java-all java-${example})
     set_target_properties(java-${example}  PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${example})
   endif()
   set(examples_src ${examples_src} ${sources})