X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/23da67335f942457b0d8b1f10e9849eba0eee9f7..1a4fbd7770910a461be806b05bff0dfdf9a87e5e:/teshsuite/mc/CMakeLists.txt diff --git a/teshsuite/mc/CMakeLists.txt b/teshsuite/mc/CMakeLists.txt index 73d251ea0b..6a38e8b872 100644 --- a/teshsuite/mc/CMakeLists.txt +++ b/teshsuite/mc/CMakeLists.txt @@ -1,11 +1,7 @@ -if(HAVE_MC) - set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") -endif() +add_executable (with_mutex_handling mutex_handling.c) +target_link_libraries(with_mutex_handling simgrid) -add_executable(with_mutex_handling mutex_handling.c) -target_link_libraries(with_mutex_handling simgrid) - -add_executable(without_mutex_handling mutex_handling.c) +add_executable (without_mutex_handling mutex_handling.c) target_link_libraries(without_mutex_handling simgrid) set_target_properties(without_mutex_handling PROPERTIES COMPILE_FLAGS -DDISABLE_THE_MUTEX=1)