Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Start to get rid of storage examples in MSG
[simgrid.git] / examples / c / CMakeLists.txt
index 2c4027a..f1dd11c 100644 (file)
@@ -1,4 +1,4 @@
-foreach(x actor-create async-waitany)
+foreach(x actor-create app-pingpong async-waitany io-disk-raw)
   add_executable       (${x}-c EXCLUDE_FROM_ALL ${x}/${x}.c)
   target_link_libraries(${x}-c simgrid)
   set_target_properties(${x}-c PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
@@ -9,9 +9,14 @@ foreach(x actor-create async-waitany)
 endforeach()
 
 set(teshsuite_src ${teshsuite_src}  PARENT_SCOPE)
-set(xml_files     ${xml_files}     ${CMAKE_CURRENT_SOURCE_DIR}/async-waitany/async-waitany_d.xml    PARENT_SCOPE)
+set(tesh_files    ${tesh_files}     PARENT_SCOPE)
 
-foreach(x async-waitany)
+set(xml_files     ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/actor-create/actor-create_d.xml
+                               ${CMAKE_CURRENT_SOURCE_DIR}/app-pingpong/app-pingpong_d.xml
+                               ${CMAKE_CURRENT_SOURCE_DIR}/async-waitany/async-waitany_d.xml
+                               PARENT_SCOPE)
+
+foreach(x actor-create app-pingpong async-waitany io-disk-raw)
   ADD_TESH(c-${x} --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
                   --setenv bindir=${CMAKE_BINARY_DIR}/examples/c/${x}
                   --cd ${CMAKE_HOME_DIRECTORY}/examples/c/${x}