1 cmake_minimum_required(VERSION 2.6)
3 set(EXECUTABLE_OUTPUT_PATH "./")
4 set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
6 add_executable(all2all_simulator _all2all_simulator.c all2all.c)
7 add_executable(all2all_sender _all2all_sender.c all2all.c)
8 add_executable(all2all_receiver _all2all_receiver.c all2all.c)
10 ### Add definitions for compile
11 target_link_libraries(all2all_simulator simgrid pthread m -fprofile-arcs)
12 target_link_libraries(all2all_sender gras pthread m -fprofile-arcs)
13 target_link_libraries(all2all_receiver gras pthread m -fprofile-arcs)