Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Massive mv to use cmake as the default compilation infrastructure.
[simgrid.git] / teshsuite / gras / empty_main / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(_empty_main_function.c _empty_main_simulator.c
4 PROPERTIES GENERATED true)
5
6 set(EXECUTABLE_OUTPUT_PATH "./")
7 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
8
9 add_executable(empty_main_function      empty_main.c _empty_main_function.c)
10 add_executable(empty_main_simulator     empty_main.c _empty_main_simulator.c)
11
12 ### Add definitions for compile
13 target_link_libraries(empty_main_simulator simgrid m pthread -fprofile-arcs)
14 target_link_libraries(empty_main_function gras m pthread -fprofile-arcs)