Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
3684c2c1c61ca0b15cedbc3d1772258d19bafffe
[simgrid.git] / buildtools / Cmake / simgrid_CMakeList / teshsuite / gras / small_sleep / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_small_sleep_function.c _small_sleep_simulator.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(small_sleep_function     small_sleep.c _small_sleep_function.c)
10 add_executable(small_sleep_simulator    small_sleep.c _small_sleep_simulator.c)
11
12 ### Add definitions for compile
13 target_link_libraries(small_sleep_simulator simgrid m pthread -fprofile-arcs)
14 target_link_libraries(small_sleep_function gras m pthread -fprofile-arcs)