A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a few more cosmetics
[simgrid.git]
/
teshsuite
/
mc
/
CMakeLists.txt
diff --git
a/teshsuite/mc/CMakeLists.txt
b/teshsuite/mc/CMakeLists.txt
index
73d251e
..
6a38e8b
100644
(file)
--- 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)
target_link_libraries(without_mutex_handling simgrid)
set_target_properties(without_mutex_handling PROPERTIES COMPILE_FLAGS -DDISABLE_THE_MUTEX=1)