Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new C example on actor creation
[simgrid.git] / examples / c / CMakeLists.txt
index 0b073d1..2c4027a 100644 (file)
@@ -1,8 +1,8 @@
-foreach(x async-waitany)
-  add_executable       (${x} EXCLUDE_FROM_ALL ${x}/${x}.c)
-  target_link_libraries(${x} simgrid)
-  set_target_properties(${x} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
-  add_dependencies(tests ${x})
+foreach(x actor-create async-waitany)
+  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})
+  add_dependencies(tests ${x}-c)
 
   set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
   set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.c)