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
Fix ns3.
[simgrid.git]
/
teshsuite
/
msg
/
CMakeLists.txt
diff --git
a/teshsuite/msg/CMakeLists.txt
b/teshsuite/msg/CMakeLists.txt
index
39bbf50
..
45f1241
100644
(file)
--- a/
teshsuite/msg/CMakeLists.txt
+++ b/
teshsuite/msg/CMakeLists.txt
@@
-1,8
+1,12
@@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.6)
-set(EXECUTABLE_OUTPUT_PATH "${
PROJECT_DIRECTORY}/teshsuite/msg/
")
+set(EXECUTABLE_OUTPUT_PATH "${
CMAKE_CURRENT_BINARY_DIR}
")
-add_executable(get_sender ${
PROJECT
_DIRECTORY}/teshsuite/msg/get_sender.c)
+add_executable(get_sender ${
CMAKE_HOME
_DIRECTORY}/teshsuite/msg/get_sender.c)
### Add definitions for compile
### Add definitions for compile
-target_link_libraries(get_sender simgrid m pthread -fprofile-arcs)
+if(NOT WIN32)
+target_link_libraries(get_sender simgrid m pthread )
+else(NOT WIN32)
+target_link_libraries(get_sender simgrid)
+endif(NOT WIN32)