Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename CPACK to Cmake.
[simgrid.git] / buildtools / Cmake / simgrid_CMakeList / examples / gras / synchro / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_synchro_simulator.c _synchro_philosopher.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(synchro_simulator _synchro_simulator.c philosopher.c)
10 add_executable(synchro_philosopher _synchro_philosopher.c  philosopher.c)
11
12 ### Add definitions for compile
13 target_link_libraries(synchro_simulator simgrid pthread m -fprofile-arcs)
14 target_link_libraries(synchro_philosopher gras pthread m -fprofile-arcs)