1 cmake_minimum_required(VERSION 2.6)
3 set_source_files_properties(${PROJECT_DIRECTORY}/examples/gras/properties/_properties_simulator.c ${PROJECT_DIRECTORY}/examples/gras/properties/_properties_alice.c ${PROJECT_DIRECTORY}/examples/gras/properties/_properties_bob.c
4 PROPERTIES GENERATED true)
6 set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/examples/gras/properties/")
8 add_executable(properties_simulator ${PROJECT_DIRECTORY}/examples/gras/properties/_properties_simulator.c ${PROJECT_DIRECTORY}/examples/gras/properties/properties.c)
9 add_executable(properties_alice ${PROJECT_DIRECTORY}/examples/gras/properties/_properties_alice.c ${PROJECT_DIRECTORY}/examples/gras/properties/properties.c)
10 add_executable(properties_bob ${PROJECT_DIRECTORY}/examples/gras/properties/_properties_bob.c ${PROJECT_DIRECTORY}/examples/gras/properties/properties.c)
12 ### Add definitions for compile
13 target_link_libraries(properties_simulator simgrid pthread m -fprofile-arcs)
14 target_link_libraries(properties_alice gras pthread m -fprofile-arcs)
15 target_link_libraries(properties_bob gras pthread m -fprofile-arcs)