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
Add missing test before set properties.
[simgrid.git]
/
teshsuite
/
msg
/
CMakeLists.txt
diff --git
a/teshsuite/msg/CMakeLists.txt
b/teshsuite/msg/CMakeLists.txt
index
637a256
..
45f1241
100644
(file)
--- a/
teshsuite/msg/CMakeLists.txt
+++ b/
teshsuite/msg/CMakeLists.txt
@@
-1,9
+1,12
@@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.6)
-set(EXECUTABLE_OUTPUT_PATH "./")
-set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-add_executable(get_sender 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)