Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
another attempt to avoid deadlocks in wrench when using sio host model
[simgrid.git] / teshsuite / mc / CMakeLists.txt
index 6fe5696..7d0e351 100644 (file)
@@ -4,8 +4,7 @@ if (NOT SIMGRID_HAVE_MC)
 endif()
 
 
-foreach(x dwarf dwarf-expression 
-          random-bug mutex-handling)
+foreach(x dwarf dwarf-expression random-bug mutex-handling)
 
   if(NOT DEFINED ${x}_sources)
     set(${x}_sources ${x}/${x}.cpp)
@@ -16,6 +15,7 @@ foreach(x dwarf dwarf-expression
     target_link_libraries(${x}  simgrid)
     set_target_properties(${x}  PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
     set_property(TARGET ${x} APPEND PROPERTY INCLUDE_DIRECTORIES "${INTERNAL_INCLUDES}")
+    target_compile_options(${x} PRIVATE ${CMAKE_C_DEBUG_FLAGS})
     add_dependencies(tests-mc ${x})
   endif()