X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ecd5f7562caf1d443bf22788fa5f4fac408776ec..8cd17b69afcbf269eb99ab0c197d9343ab4c90e1:/teshsuite/java/CMakeLists.txt diff --git a/teshsuite/java/CMakeLists.txt b/teshsuite/java/CMakeLists.txt index de2af46938..3c6e4c65ee 100644 --- a/teshsuite/java/CMakeLists.txt +++ b/teshsuite/java/CMakeLists.txt @@ -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})