Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
4709602dffbcad7a7abd97084724810389c5e676
[simgrid.git] / buildtools / CPACK / simgrid_CMakeList / examples / gras / timer / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_timer_simulator.c _timer_client.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(timer_simulator _timer_simulator.c timer.c)
10 add_executable(timer_client _timer_client.c timer.c)
11
12 ### Add definitions for compile
13 target_link_libraries(timer_simulator simgrid pthread m -fprofile-arcs)
14 target_link_libraries(timer_client gras pthread m -fprofile-arcs)