Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / examples / msg / mc / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4
5 add_executable(centralized centralized_mutex.c)
6 add_executable(bugged1     bugged1.c)
7 add_executable(bugged1_stateful bugged1_stateful.c)
8 add_executable(bugged2_stateful bugged2_stateful.c)
9 add_executable(bugged2     bugged2.c)
10 add_executable(bugged3     bugged3.c)
11 add_executable(random_test random_test.c)
12 add_executable(bugged1_liveness automaton.c automatonparse_promela.c bugged1_liveness.c)
13 add_executable(bugged2_liveness automaton.c automatonparse_promela.c bugged2_liveness.c)
14 add_executable(centralized_liveness automaton.c automatonparse_promela.c centralized_liveness.c)
15 add_executable(test_snapshot automaton.c automatonparse_promela.c test_snapshot.c)
16
17 target_link_libraries(centralized simgrid m )
18 target_link_libraries(bugged1     simgrid m )
19 target_link_libraries(bugged1_stateful simgrid m)
20 target_link_libraries(bugged2_stateful simgrid m)
21 target_link_libraries(bugged2     simgrid m )
22 target_link_libraries(bugged3     simgrid m )
23 target_link_libraries(random_test     simgrid m )
24 target_link_libraries(bugged1_liveness     simgrid m )
25 target_link_libraries(bugged2_liveness     simgrid m )
26 target_link_libraries(centralized_liveness     simgrid m )
27 target_link_libraries(test_snapshot     simgrid m )