Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename gras_config.h.in to c_gras_config.h.in in order to avoid a conflict with autotools
[simgrid.git] / buildtools / Cmake / 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)