Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use MC_process_read_string() in MC_smx_process_get_name() (DRY)
[simgrid.git] / examples / scala / master_slave_kill / CMakeLists.txt
index bdc19ec..4880c53 100644 (file)
@@ -13,7 +13,7 @@ if(enable_scala)
     COMMENT "Building ${example}..."
     OUTPUT ${example}_compiled
     DEPENDS ${sources} simgrid-java_jar ${SIMGRID_JAR}
-    COMMAND ${SCALA_COMPILE} -cp ${SIMGRID_JAR}
+    COMMAND ${SCALA_COMPILE} -classpath ${SIMGRID_JAR}
                              -d ${CMAKE_CURRENT_BINARY_DIR}/.. ${sources}
     COMMAND ${CMAKE_COMMAND} -E remove ${example}_compiled
     COMMAND ${CMAKE_COMMAND} -E touch ${example}_compiled
@@ -28,7 +28,6 @@ set(tesh_files
   )
 set(xml_files
   ${xml_files}
-  ${CMAKE_CURRENT_SOURCE_DIR}/platform.xml
   PARENT_SCOPE
   )
 set(examples_src