Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
f28d923986eb6a79cf6c75b2e7bf57894deecc9c
[simgrid.git] / examples / msg / kadeploy / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(kadeploy kadeploy.c iterator.c common.c messages.c broadcaster.c peer.c)
6
7 ### Add definitions for compile
8 target_link_libraries(kadeploy simgrid m )
9
10 set(tesh_files
11   ${tesh_files}
12   ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_CLM03.tesh
13   ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_KCCFLN05.tesh
14   ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_Reno.tesh
15   ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_Vegas.tesh
16   PARENT_SCOPE
17   )
18 set(xml_files
19   ${xml_files}
20   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_kadeploy.xml
21   ${CMAKE_CURRENT_SOURCE_DIR}/platform_kadeploy.xml
22   PARENT_SCOPE
23   )
24 set(examples_src
25   ${examples_src}
26   ${CMAKE_CURRENT_SOURCE_DIR}/iterator.c
27   ${CMAKE_CURRENT_SOURCE_DIR}/common.c
28   ${CMAKE_CURRENT_SOURCE_DIR}/messages.c
29   ${CMAKE_CURRENT_SOURCE_DIR}/broadcaster.c
30   ${CMAKE_CURRENT_SOURCE_DIR}/peer.c
31   ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy.c
32   PARENT_SCOPE
33   )
34 set(bin_files
35   ${bin_files}
36   PARENT_SCOPE
37   )
38 set(txt_files
39   ${txt_files}
40   ${CMAKE_CURRENT_SOURCE_DIR}/README
41   PARENT_SCOPE
42   )