Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv a test out of platforms dir
[simgrid.git] / examples / msg / parallel_task / CMakeLists.txt
index 9928fd2..257ddc3 100644 (file)
@@ -1,11 +1,7 @@
 add_executable       (parallel_task parallel_task.c)
 target_link_libraries(parallel_task simgrid)
 
 add_executable       (parallel_task parallel_task.c)
 target_link_libraries(parallel_task simgrid)
 
-set(tesh_files
-  ${tesh_files}
-  ${CMAKE_CURRENT_SOURCE_DIR}/parallel_task.tesh
-  PARENT_SCOPE)
-set(examples_src
-  ${examples_src}
-  ${CMAKE_CURRENT_SOURCE_DIR}/parallel_task.c
-  PARENT_SCOPE)
+ADD_TESH_FACTORIES(msg-ptask "thread;ucontext;raw" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/parallel_task.tesh)
+
+set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/parallel_task.tesh  PARENT_SCOPE)
+set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/parallel_task.c     PARENT_SCOPE)