Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
542313e0b951c80ac2d58a35654e60c58cbb00b6
[simgrid.git] / teshsuite / msg / host_on_off / CMakeLists.txt
1 foreach(x host_on_off host_on_off_wait host_on_off_recv)
2   add_executable       (${x} ${x}.c)
3   target_link_libraries(${x} simgrid)
4
5   set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/${x}.tesh)
6   set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.c)
7
8   ADD_TESH_FACTORIES(tesh-msg-${x} "thread;ucontext;raw" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite/msg/host_on_off --cd ${CMAKE_BINARY_DIR}/teshsuite/msg/host_on_off ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/host_on_off/${x}.tesh)
9 endforeach()
10
11 set(xml_files     ${xml_files}     ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_d.xml PARENT_SCOPE)
12 set(teshsuite_src ${teshsuite_src}                                               PARENT_SCOPE)
13 set(tesh_files    ${tesh_files}                                                  PARENT_SCOPE)