Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG_parallel_task_create() in msg_task.c.
[simgrid.git] / examples / msg / token_ring / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(token_ring ring_call.c)
6
7 ### Add definitions for compile
8 if(NOT WIN32)
9   target_link_libraries(token_ring simgrid m pthread )
10 else(NOT WIN32)
11   target_link_libraries(token_ring simgrid)
12 endif(NOT WIN32)
13
14 set(tesh_files
15   ${tesh_files}
16   ${CMAKE_CURRENT_SOURCE_DIR}/token_ring.tesh
17   PARENT_SCOPE
18 )
19 set(xml_files
20   ${xml_files}
21   ${CMAKE_CURRENT_SOURCE_DIR}/two_clusters.xml
22   ${CMAKE_CURRENT_SOURCE_DIR}/two_peers.xml
23   PARENT_SCOPE
24 )
25 set(examples_src
26   ${examples_src}
27   ${CMAKE_CURRENT_SOURCE_DIR}/ring_call.c
28   PARENT_SCOPE
29 )
30 set(bin_files
31   ${bin_files}
32   PARENT_SCOPE
33 )
34 set(txt_files
35   ${txt_files}
36   PARENT_SCOPE
37 )