1 cmake_minimum_required(VERSION 2.6)
3 set(EXECUTABLE_OUTPUT_PATH "./")
4 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
6 add_executable(synchro_simulator _synchro_simulator.c philosopher.c)
7 add_executable(synchro_philosopher _synchro_philosopher.c philosopher.c)
9 ### Add definitions for compile
10 target_link_libraries(synchro_simulator simgrid pthread m -fprofile-arcs)
11 target_link_libraries(synchro_philosopher gras pthread m -fprofile-arcs)