Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
78b8485e5a7a00c755e3109678f6b9786c8dd31a
[simgrid.git] / buildtools / CPACK / simgrid_CMakeList / examples / amok / bandwidth / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_bandwidth_simulator.c _bandwidth_maestro.c _bandwidth_sensor.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(bandwidth_simulator _bandwidth_simulator.c bandwidth.c)
10 add_executable(bandwidth_maestro _bandwidth_maestro.c bandwidth.c)
11 add_executable(bandwidth_sensor _bandwidth_sensor.c bandwidth.c)
12
13 ### Add definitions for compile
14 target_link_libraries(bandwidth_simulator simgrid pthread m -fprofile-arcs)
15 target_link_libraries(bandwidth_maestro gras pthread m -fprofile-arcs)
16 target_link_libraries(bandwidth_sensor gras pthread m -fprofile-arcs)