Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
guess what? more refactoring!
[simgrid.git] / examples / msg / suspend / CMakeLists.txt
index f34c90a..1a7076f 100644 (file)
@@ -1,11 +1,7 @@
 add_executable       (suspend suspend.c)
 target_link_libraries(suspend simgrid)
 
-set(tesh_files
-  ${tesh_files}
-  ${CMAKE_CURRENT_SOURCE_DIR}/suspend.tesh
-  PARENT_SCOPE)
-set(examples_src
-  ${examples_src}
-  ${CMAKE_CURRENT_SOURCE_DIR}/suspend.c
-  PARENT_SCOPE)
+ADD_TESH_FACTORIES(msg-suspend "thread;ucontext;raw;boost" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/suspend/suspend.tesh)
+
+set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/suspend.tesh  PARENT_SCOPE)
+set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/suspend.c     PARENT_SCOPE)