Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not declare empty sets
[simgrid.git] / examples / msg / masterslave / CMakeLists.txt
1 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
2
3 add_executable(masterslave_failure "masterslave_failure.c")
4 add_executable(masterslave_forwarder "masterslave_forwarder.c")
5 add_executable(masterslave_mailbox "masterslave_mailbox.c")
6 add_executable(masterslave_cluster "masterslave_cluster.c")
7 add_executable(masterslave_kill "masterslave_kill.c")
8 add_executable(masterslave_arg "masterslave_arg.c")
9
10 target_link_libraries(masterslave_forwarder simgrid )
11 target_link_libraries(masterslave_failure simgrid )
12 target_link_libraries(masterslave_mailbox simgrid )
13 target_link_libraries(masterslave_kill simgrid )
14 target_link_libraries(masterslave_arg simgrid )
15 target_link_libraries(masterslave_cluster simgrid)
16
17 set(tesh_files
18   ${tesh_files}
19   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_cpu_ti.tesh
20   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_forwarder_crosstraffic.tesh
21   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_mailbox.tesh
22   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_cas01_im.tesh
23   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_crosstraffic.tesh
24   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_forwarder.tesh
25   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_multicore.tesh
26   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_failure_crosstraffic.tesh
27   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_kill.tesh
28   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave.tesh
29   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_cpu_ti_crosstraffic.tesh
30   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_failure.tesh
31   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_mailbox_crosstraffic.tesh
32   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_vivaldi.tesh
33   PARENT_SCOPE)
34 set(xml_files
35   ${xml_files}
36   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_masterslave_forwarder.xml
37   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_masterslave_mailbox_multicore.xml
38   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_masterslave_vivaldi.xml
39   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_masterslave_kill.xml
40   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_masterslave_mailbox.xml
41   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_masterslave.xml
42   PARENT_SCOPE)
43 set(examples_src
44   ${examples_src}
45   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_arg.c
46   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_cluster.c
47   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_failure.c
48   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_forwarder.c
49   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_kill.c
50   ${CMAKE_CURRENT_SOURCE_DIR}/masterslave_mailbox.c
51   PARENT_SCOPE)
52