X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb77317176edc7ac4aa1fb08d22bc44ca00261ff..9e68ca10e951fb61e944c99c7774b1e415ae9f6d:/examples/msg/mc/CMakeLists.txt diff --git a/examples/msg/mc/CMakeLists.txt b/examples/msg/mc/CMakeLists.txt index d561c9f405..2e18bb037a 100644 --- a/examples/msg/mc/CMakeLists.txt +++ b/examples/msg/mc/CMakeLists.txt @@ -4,6 +4,7 @@ if(HAVE_MC) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test/") + file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/chord/") add_executable(centralized centralized_mutex.c) add_executable(bugged1 bugged1.c) @@ -12,11 +13,12 @@ if(HAVE_MC) add_executable(random_test random_test.c) add_executable(bugged1_liveness bugged1_liveness.c) add_executable(bugged2_liveness bugged2_liveness.c) - add_executable(test/snapshot_comparison_liveness1 test/snapshot_comparison_liveness1.c) - add_executable(test/snapshot_comparison_liveness2 test/snapshot_comparison_liveness2.c) - add_executable(test/snapshot_comparison_liveness3 test/snapshot_comparison_liveness3.c) - add_executable(test/snapshot_comparison_liveness4 test/snapshot_comparison_liveness4.c) - add_executable(test/snapshot_comparison_liveness5 test/snapshot_comparison_liveness5.c) + add_executable(chord/chord_liveness chord/chord_liveness.c) + add_executable(test/snapshot_comparison1 test/snapshot_comparison1.c) + add_executable(test/snapshot_comparison2 test/snapshot_comparison2.c) + add_executable(test/snapshot_comparison3 test/snapshot_comparison3.c) + add_executable(test/snapshot_comparison4 test/snapshot_comparison4.c) + add_executable(test/snapshot_comparison5 test/snapshot_comparison5.c) target_link_libraries(centralized simgrid m ) target_link_libraries(bugged1 simgrid m ) @@ -25,18 +27,18 @@ if(HAVE_MC) target_link_libraries(random_test simgrid m ) target_link_libraries(bugged1_liveness simgrid m ) target_link_libraries(bugged2_liveness simgrid m ) - target_link_libraries(test/snapshot_comparison_liveness1 simgrid m ) - target_link_libraries(test/snapshot_comparison_liveness2 simgrid m ) - target_link_libraries(test/snapshot_comparison_liveness3 simgrid m ) - target_link_libraries(test/snapshot_comparison_liveness4 simgrid m ) - target_link_libraries(test/snapshot_comparison_liveness5 simgrid m ) + target_link_libraries(chord/chord_liveness simgrid m ) + target_link_libraries(test/snapshot_comparison1 simgrid m ) + target_link_libraries(test/snapshot_comparison2 simgrid m ) + target_link_libraries(test/snapshot_comparison3 simgrid m ) + target_link_libraries(test/snapshot_comparison4 simgrid m ) + target_link_libraries(test/snapshot_comparison5 simgrid m ) endif() set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/bugged1.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/bugged2.tesh ${CMAKE_CURRENT_SOURCE_DIR}/centralized.tesh PARENT_SCOPE ) @@ -50,6 +52,7 @@ set(xml_files ${CMAKE_CURRENT_SOURCE_DIR}/deploy_mutex.xml ${CMAKE_CURRENT_SOURCE_DIR}/deploy_random_test.xml ${CMAKE_CURRENT_SOURCE_DIR}/platform.xml + ${CMAKE_CURRENT_SOURCE_DIR}/chord/deploy_chord_liveness.xml ${CMAKE_CURRENT_SOURCE_DIR}/test/deploy_snapshot_comparison.xml PARENT_SCOPE ) @@ -64,11 +67,13 @@ set(examples_src ${CMAKE_CURRENT_SOURCE_DIR}/random_test.c ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness.h ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.h - ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison_liveness1.c - ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison_liveness2.c - ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison_liveness3.c - ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison_liveness4.c - ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison_liveness5.c + ${CMAKE_CURRENT_SOURCE_DIR}/chord/chord_liveness.c + ${CMAKE_CURRENT_SOURCE_DIR}/chord/chord_liveness.h + ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison1.c + ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison2.c + ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison3.c + ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison4.c + ${CMAKE_CURRENT_SOURCE_DIR}/test/snapshot_comparison5.c PARENT_SCOPE ) set(bin_files @@ -76,6 +81,7 @@ set(bin_files ${CMAKE_CURRENT_SOURCE_DIR}/parse_dwarf ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged1_liveness ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged2_liveness + ${CMAKE_CURRENT_SOURCE_DIR}/chord/promela_chord_liveness ${CMAKE_CURRENT_SOURCE_DIR}/test/promela PARENT_SCOPE )