1 cmake_minimum_required(VERSION 2.6)
3 set_source_files_properties(_timer_simulator.c _timer_client.c
4 PROPERTIES GENERATED true)
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
9 add_executable(timer_simulator _timer_simulator.c timer.c)
10 add_executable(timer_client _timer_client.c timer.c)
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)