Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
introduce Comm::on_start and Comm::on_completion
[simgrid.git] / teshsuite / msg / CMakeLists.txt
1 if(enable_msg)
2   add_executable       (task_destroy_cancel EXCLUDE_FROM_ALL task_destroy_cancel/task_destroy_cancel.c)
3   target_link_libraries(task_destroy_cancel simgrid)
4   set_target_properties(task_destroy_cancel PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/task_destroy_cancel)
5   add_dependencies(tests task_destroy_cancel)
6
7   ADD_TESH_FACTORIES(tesh-msg-task_destroy_cancel "raw"  --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
8                                                          --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/msg/task_destroy_cancel
9                                                          --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/task_destroy_cancel
10                                                          ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/task_destroy_cancel/task_destroy_cancel.tesh)
11 endif()
12
13 set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel/task_destroy_cancel.tesh PARENT_SCOPE)
14 set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel/task_destroy_cancel.c PARENT_SCOPE)