Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
621a8e30ebedec51fd2b06c11eb6d0c8f208e633
[simgrid.git] / buildtools / CPACK / simgrid_CMakeList / examples / gras / spawn / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "./")
4 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
5
6 add_executable(spawn_simulator _spawn_simulator.c spawn_father.c spawn_child.c spawn_common.c)
7 add_executable(spawn_child _spawn_child.c spawn_child.c spawn_common.c)
8 add_executable(spawn_father _spawn_father.c  spawn_father.c spawn_child.c spawn_common.c)
9
10 ### Add definitions for compile
11 target_link_libraries(spawn_simulator simgrid pthread m -fprofile-arcs)
12 target_link_libraries(spawn_child gras pthread m -fprofile-arcs)
13 target_link_libraries(spawn_father gras pthread m -fprofile-arcs)
14