Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Massive mv to use cmake as the default compilation infrastructure.
[simgrid.git] / examples / msg / masterslave / 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(masterslave_failure "masterslave_failure.c")
7 add_executable(masterslave_forwarder "masterslave_forwarder.c")
8 add_executable(masterslave_mailbox "masterslave_mailbox.c")
9 add_executable(masterslave_bypass "masterslave_bypass.c")
10
11 ### Add definitions for compile
12 target_link_libraries(masterslave_forwarder simgrid m -fprofile-arcs)
13 target_link_libraries(masterslave_failure simgrid m -fprofile-arcs)
14 target_link_libraries(masterslave_mailbox simgrid m -fprofile-arcs)
15 target_link_libraries(masterslave_bypass simgrid m -fprofile-arcs)