1 cmake_minimum_required(VERSION 2.6)
4 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
6 add_executable(centralized centralized_mutex.c)
7 add_executable(bugged1 bugged1.c)
8 add_executable(bugged1_stateful bugged1_stateful.c)
9 add_executable(bugged2_stateful bugged2_stateful.c)
10 add_executable(bugged2 bugged2.c)
11 add_executable(bugged3 bugged3.c)
12 add_executable(random_test random_test.c)
13 add_executable(bugged1_for_liveness automaton.c automatonparse_promela.c bugged1_for_liveness.c)
14 add_executable(bugged1_while_liveness automaton.c automatonparse_promela.c bugged1_while_liveness.c)
15 add_executable(bugged2_liveness automaton.c automatonparse_promela.c bugged2_liveness.c)
16 add_executable(centralized_liveness automaton.c automatonparse_promela.c centralized_liveness.c)
17 add_executable(centralized_liveness_deadlock automaton.c automatonparse_promela.c centralized_liveness_deadlock.c)
18 add_executable(test_snapshot automaton.c automatonparse_promela.c test_snapshot.c)
20 target_link_libraries(centralized simgrid m )
21 target_link_libraries(bugged1 simgrid m )
22 target_link_libraries(bugged1_stateful simgrid m)
23 target_link_libraries(bugged2_stateful simgrid m)
24 target_link_libraries(bugged2 simgrid m )
25 target_link_libraries(bugged3 simgrid m )
26 target_link_libraries(random_test simgrid m )
27 target_link_libraries(bugged1_for_liveness simgrid m )
28 target_link_libraries(bugged1_while_liveness simgrid m )
29 target_link_libraries(bugged2_liveness simgrid m )
30 target_link_libraries(centralized_liveness simgrid m )
31 target_link_libraries(centralized_liveness_deadlock simgrid m )
32 target_link_libraries(test_snapshot simgrid m )
37 ${CMAKE_CURRENT_SOURCE_DIR}/bugged1.tesh
38 ${CMAKE_CURRENT_SOURCE_DIR}/bugged2.tesh
39 ${CMAKE_CURRENT_SOURCE_DIR}/centralized.tesh
44 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged1_liveness.xml
45 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged1.xml
46 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged2_liveness.xml
47 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged2.xml
48 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged3.xml
49 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_centralized_liveness.xml
50 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_mutex.xml
51 ${CMAKE_CURRENT_SOURCE_DIR}/deploy_random_test.xml
52 ${CMAKE_CURRENT_SOURCE_DIR}/platform.xml
57 ${CMAKE_CURRENT_SOURCE_DIR}/automaton.c
58 ${CMAKE_CURRENT_SOURCE_DIR}/automatonparse_promela.c
59 ${CMAKE_CURRENT_SOURCE_DIR}/bugged1.c
60 ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_for_liveness.c
61 ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_stateful.c
62 ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_while_liveness.c
63 ${CMAKE_CURRENT_SOURCE_DIR}/bugged2.c
64 ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.c
65 ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_stateful.c
66 ${CMAKE_CURRENT_SOURCE_DIR}/bugged3.c
67 ${CMAKE_CURRENT_SOURCE_DIR}/centralized_liveness.c
68 ${CMAKE_CURRENT_SOURCE_DIR}/centralized_liveness_deadlock.c
69 ${CMAKE_CURRENT_SOURCE_DIR}/centralized_mutex.c
70 ${CMAKE_CURRENT_SOURCE_DIR}/lex.yy.c
71 ${CMAKE_CURRENT_SOURCE_DIR}/random_test.c
72 ${CMAKE_CURRENT_SOURCE_DIR}/test_snapshot.c
73 ${CMAKE_CURRENT_SOURCE_DIR}/y.tab.c
74 ${CMAKE_CURRENT_SOURCE_DIR}/automaton.h
75 ${CMAKE_CURRENT_SOURCE_DIR}/automatonparse_promela.h
76 ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness.h
77 ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.h
78 ${CMAKE_CURRENT_SOURCE_DIR}/centralized_liveness.h
79 ${CMAKE_CURRENT_SOURCE_DIR}/test_snapshot.h
80 ${CMAKE_CURRENT_SOURCE_DIR}/y.tab.h
85 ${CMAKE_CURRENT_SOURCE_DIR}/dwarf
86 ${CMAKE_CURRENT_SOURCE_DIR}/parse_dwarf
87 ${CMAKE_CURRENT_SOURCE_DIR}/parserPromela.lex
88 ${CMAKE_CURRENT_SOURCE_DIR}/parserPromela.yacc
89 ${CMAKE_CURRENT_SOURCE_DIR}/promela1_bugged1_liveness
90 ${CMAKE_CURRENT_SOURCE_DIR}/promela2_bugged1_liveness
91 ${CMAKE_CURRENT_SOURCE_DIR}/promela2_bugged2_liveness
92 ${CMAKE_CURRENT_SOURCE_DIR}/promela2_centralized_liveness
93 ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged2_liveness
94 ${CMAKE_CURRENT_SOURCE_DIR}/promela_centralized_liveness