X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c3a1127888725e3075adff3ad323dc1357351530..830b5c4bc694ade087c43f39015faa9065795630:/examples/msg/mc/CMakeLists.txt diff --git a/examples/msg/mc/CMakeLists.txt b/examples/msg/mc/CMakeLists.txt index 932fca77df..9e101b442d 100644 --- a/examples/msg/mc/CMakeLists.txt +++ b/examples/msg/mc/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.6) if(HAVE_MC) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") + file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/test/") + add_executable(centralized centralized_mutex.c) add_executable(bugged1 bugged1.c) add_executable(bugged2 bugged2.c) @@ -13,6 +15,7 @@ if(HAVE_MC) add_executable(centralized_liveness centralized_liveness.c) add_executable(centralized_liveness_deadlock centralized_liveness_deadlock.c) add_executable(test_snapshot test_snapshot.c) + add_executable(test/compare_snapshot test/compare_snapshot.c) target_link_libraries(centralized simgrid m ) target_link_libraries(bugged1 simgrid m ) @@ -24,6 +27,8 @@ if(HAVE_MC) target_link_libraries(centralized_liveness simgrid m ) target_link_libraries(centralized_liveness_deadlock simgrid m ) target_link_libraries(test_snapshot simgrid m ) + target_link_libraries(test/compare_snapshot simgrid m ) + endif(HAVE_MC) set(tesh_files @@ -62,6 +67,7 @@ set(examples_src ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.h ${CMAKE_CURRENT_SOURCE_DIR}/centralized_liveness.h ${CMAKE_CURRENT_SOURCE_DIR}/test_snapshot.h + ${CMAKE_CURRENT_SOURCE_DIR}/test/compare_snapshot.c PARENT_SCOPE ) set(bin_files