Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
hide a (grave) warning in the tests
[simgrid.git] / teshsuite / s4u / CMakeLists.txt
1 foreach(x actor concurrent_rw host_on_off_wait listen_async pid storage_client_server)
2   add_executable       (${x}  ${x}/${x}.cpp)
3   target_link_libraries(${x}  simgrid)
4   set_target_properties(${x}  PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
5
6   set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
7   set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.cpp)
8 endforeach()
9
10 set(teshsuite_src ${teshsuite_src}  PARENT_SCOPE)
11 set(tesh_files    ${tesh_files}     PARENT_SCOPE)
12 set(xml_files     ${xml_files}      PARENT_SCOPE)
13
14 foreach(x actor concurrent_rw host_on_off_wait listen_async pid storage_client_server)
15   ADD_TESH_FACTORIES(tesh-s4u-${x} "thread;boost;ucontext;raw" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite/s4u/${x} --cd ${CMAKE_BINARY_DIR}/teshsuite/s4u/${x} ${CMAKE_HOME_DIRECTORY}/teshsuite/s4u/${x}/${x}.tesh)
16 endforeach()