Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
6b791d27562d7be8f87da4a62e17307ec6d6ffec
[simgrid.git] / buildtools / CPACK / simgrid_CMakeList / examples / gras / pmm / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_pmm_simulator.c _pmm_slave.c _pmm_master.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(pmm_simulator _pmm_simulator.c pmm.c)
10 add_executable(pmm_slave _pmm_slave.c pmm.c)
11 add_executable(pmm_master _pmm_master.c pmm.c)
12
13 ### Add definitions for compile
14 target_link_libraries(pmm_simulator simgrid pthread m -fprofile-arcs)
15 target_link_libraries(pmm_slave gras pthread m -fprofile-arcs)
16 target_link_libraries(pmm_master gras pthread m -fprofile-arcs)