Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
82921c066322aebaacf8c721477afe3a68ac4c0c
[simgrid.git] / teshsuite / gras / msg_handle / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_msg_handle_simulator.c _msg_handle_client.c _msg_handle_server.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(msg_handle_simulator msg_handle.c _msg_handle_simulator.c)
10 add_executable(msg_handle_client msg_handle.c _msg_handle_client.c)
11 add_executable(msg_handle_server msg_handle.c _msg_handle_server.c)
12
13 ### Add definitions for compile
14 target_link_libraries(msg_handle_simulator simgrid m pthread -fprofile-arcs)
15 target_link_libraries(msg_handle_client gras m pthread -fprofile-arcs)
16 target_link_libraries(msg_handle_server gras m pthread -fprofile-arcs)