Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : examples changed
[simgrid.git] / examples / msg / mc / CMakeLists.txt
index 868bd24..30241f9 100644 (file)
@@ -1,15 +1,28 @@
 cmake_minimum_required(VERSION 2.6)
 
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/examples/msg/mc/")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(centralized centralized_mutex.c)
 add_executable(bugged1     bugged1.c)
+add_executable(bugged1_stateful bugged1_stateful.c)
+add_executable(bugged2_stateful bugged2_stateful.c)
 add_executable(bugged2     bugged2.c)
 add_executable(bugged3    bugged3.c)
 add_executable(random_test random_test.c)
+add_executable(example_liveness_with_cycle2 automaton.c
+automatonparse_promela.c example_liveness_with_cycle2.c)
+add_executable(example_liveness_with_cycle automaton.c
+automatonparse_promela.c example_liveness_with_cycle.c)
 
-target_link_libraries(centralized simgrid m -fprofile-arcs)
-target_link_libraries(bugged1     simgrid m -fprofile-arcs)
-target_link_libraries(bugged2     simgrid m -fprofile-arcs)
-target_link_libraries(bugged3     simgrid m -fprofile-arcs)
-target_link_libraries(random_test     simgrid m -fprofile-arcs)
+
+
+
+target_link_libraries(centralized simgrid m )
+target_link_libraries(bugged1     simgrid m )
+target_link_libraries(bugged1_stateful simgrid m)
+target_link_libraries(bugged2_stateful simgrid m)
+target_link_libraries(bugged2     simgrid m )
+target_link_libraries(bugged3     simgrid m )
+target_link_libraries(random_test     simgrid m )
+target_link_libraries(example_liveness_with_cycle2     simgrid m )
+target_link_libraries(example_liveness_with_cycle     simgrid m )