X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347996b4a10c4e8579080692afa60e0afb88b60a..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 b02fcf6e04..0000000000 --- a/examples/java/cloud/energy/CMakeLists.txt +++ /dev/null @@ -1,30 +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)