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
[cmake] report the compiler version when we think it's too old
[simgrid.git]
/
teshsuite
/
msg
/
CMakeLists.txt
diff --git
a/teshsuite/msg/CMakeLists.txt
b/teshsuite/msg/CMakeLists.txt
index
c9c9ef3
..
0b5b777
100644
(file)
--- a/
teshsuite/msg/CMakeLists.txt
+++ b/
teshsuite/msg/CMakeLists.txt
@@
-1,12
+1,25
@@
-
cmake_minimum_required(VERSION 2.6
)
+
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}"
)
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
+### Add definitions for compile
-add_executable(get_sender ${PROJECT_DIRECTORY}/teshsuite/msg/get_sender.c)
+set(tesh_files
+ ${tesh_files}
+ PARENT_SCOPE
+ )
+set(xml_files
+ ${xml_files}
+ PARENT_SCOPE
+ )
+set(teshsuite_src
+ ${teshsuite_src}
+ PARENT_SCOPE
+ )
+set(bin_files
-### Add definitions for compile
-if(NOT WIN32)
-target_link_libraries(get_sender simgrid m pthread )
-else(NOT WIN32)
-target_link_libraries(get_sender simgrid)
-endif(NOT WIN32)
+ ${bin_files}
+ PARENT_SCOPE
+ )
+set(txt_files
+ ${txt_files}
+ PARENT_SCOPE
+ )