X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5710ebd34c306ce007026b30c5394315d77f38ea..2534be6f143eb3b32a2dc3ea116a0f4510d4f0d5:/examples/java/cloud/energy/CMakeLists.txt diff --git a/examples/java/cloud/energy/CMakeLists.txt b/examples/java/cloud/energy/CMakeLists.txt deleted file mode 100644 index 77d4d4acf6..0000000000 --- a/examples/java/cloud/energy/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ -set(example java_cloud_energy) -set(sources ${CMAKE_CURRENT_SOURCE_DIR}/Main.java - ${CMAKE_CURRENT_SOURCE_DIR}/EnergyVMRunner.java) - -if(enable_java) - add_custom_command( - COMMENT "Building ${example}..." - OUTPUT ${example}_compiled - 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 - ) - add_custom_target(${example} ALL DEPENDS ${example}_compiled) -endif() - -set(tesh_files - ${tesh_files} - ${CMAKE_CURRENT_SOURCE_DIR}/energy.tesh - PARENT_SCOPE) -set(xml_files - ${xml_files} - PARENT_SCOPE) -set(examples_src - ${examples_src} - ${sources} - PARENT_SCOPE)