Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
b982c467c1763f6ac34ce94890aacbc6429decce
[simgrid.git] / examples / msg / chord / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(chord chord.c)
6 add_executable(chord_before_dsend chord_before_dsend.c)
7
8 ### Add definitions for compile
9 target_link_libraries(chord simgrid )
10 target_link_libraries(chord_before_dsend simgrid )
11
12 set(tesh_files
13   ${tesh_files}
14   ${CMAKE_CURRENT_SOURCE_DIR}/chord.tesh
15   ${CMAKE_CURRENT_SOURCE_DIR}/chord_crosstraffic.tesh
16   PARENT_SCOPE
17   )
18 set(xml_files
19   ${xml_files}
20   ${CMAKE_CURRENT_SOURCE_DIR}/chord.xml
21   ${CMAKE_CURRENT_SOURCE_DIR}/chord10.xml
22   ${CMAKE_CURRENT_SOURCE_DIR}/chord100.xml
23   ${CMAKE_CURRENT_SOURCE_DIR}/chord90.xml
24   PARENT_SCOPE
25   )
26 set(examples_src
27   ${examples_src}
28   ${CMAKE_CURRENT_SOURCE_DIR}/chord.c
29   ${CMAKE_CURRENT_SOURCE_DIR}/chord_before_dsend.c
30   PARENT_SCOPE
31   )
32 set(bin_files
33   ${bin_files}
34   ${CMAKE_CURRENT_SOURCE_DIR}/generate.py
35   ${CMAKE_CURRENT_SOURCE_DIR}/run_chord
36   PARENT_SCOPE
37   )
38 set(txt_files
39   ${txt_files}
40   PARENT_SCOPE
41   )