Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a few memory leaks.
[simgrid.git] / teshsuite / msg / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.c)
6 add_executable(pid ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/pid.c)
7
8 ### Add definitions for compile
9 if(NOT WIN32)
10   target_link_libraries(get_sender simgrid)
11   target_link_libraries(pid simgrid m pthread)
12 else()
13   target_link_libraries(get_sender simgrid)
14   target_link_libraries(pid simgrid)
15 endif()
16
17 set(tesh_files
18   ${tesh_files}
19   ${CMAKE_CURRENT_SOURCE_DIR}/get_sender.tesh
20   ${CMAKE_CURRENT_SOURCE_DIR}/pid.tesh
21   PARENT_SCOPE
22   )
23 set(xml_files
24   ${xml_files}
25   ${CMAKE_CURRENT_SOURCE_DIR}/get_sender.xml
26   ${CMAKE_CURRENT_SOURCE_DIR}/get_sender_d.xml
27   ${CMAKE_CURRENT_SOURCE_DIR}/get_sender_p.xml
28   ${CMAKE_CURRENT_SOURCE_DIR}/pid.xml
29   PARENT_SCOPE
30   )
31 set(teshsuite_src
32   ${teshsuite_src}
33   ${CMAKE_CURRENT_SOURCE_DIR}/get_sender.c
34   ${CMAKE_CURRENT_SOURCE_DIR}/pid.c
35   PARENT_SCOPE
36   )
37 set(bin_files
38   ${bin_files}
39   PARENT_SCOPE
40   )
41 set(txt_files
42   ${txt_files}
43   PARENT_SCOPE
44   )