Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a few more cosmetics
[simgrid.git] / teshsuite / mc / CMakeLists.txt
1 add_executable       (with_mutex_handling    mutex_handling.c)
2 target_link_libraries(with_mutex_handling    simgrid)
3
4 add_executable       (without_mutex_handling mutex_handling.c)
5 target_link_libraries(without_mutex_handling simgrid)
6 set_target_properties(without_mutex_handling PROPERTIES COMPILE_FLAGS -DDISABLE_THE_MUTEX=1)
7
8 set(tesh_files
9   ${tesh_files}
10   ${CMAKE_CURRENT_SOURCE_DIR}/with_mutex_handling.tesh
11   ${CMAKE_CURRENT_SOURCE_DIR}/without_mutex_handling.tesh
12   PARENT_SCOPE)
13 set(testsuite_src
14   ${testsuite_src}
15   ${CMAKE_CURRENT_SOURCE_DIR}/mutex_handling.c
16   PARENT_SCOPE)
17 set(xml_files
18   ${xml_files}
19   ${CMAKE_CURRENT_SOURCE_DIR}/mutex_handling.xml
20   PARENT_SCOPE)