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
put pid on 2 chars to help sorting, and revalidate the output (timestamps changed...
[simgrid.git]
/
examples
/
gras
/
timer
/
CMakeLists.txt
diff --git
a/examples/gras/timer/CMakeLists.txt
b/examples/gras/timer/CMakeLists.txt
index ad883e96db3c2996e173e750d1c3e337384c03cd..431ee35b7f477cdd3c3b85386aa8cb98446a00de 100644
(file)
--- a/
examples/gras/timer/CMakeLists.txt
+++ b/
examples/gras/timer/CMakeLists.txt
@@
-4,7
+4,7
@@
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/_timer_simulator.c
${CMAKE_CURRENT_BINARY_DIR}/_timer_client.c
PROPERTIES GENERATED true)
${CMAKE_CURRENT_BINARY_DIR}/_timer_client.c
PROPERTIES GENERATED true)
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_
SOURCE
_DIR}")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_
BINARY
_DIR}")
add_executable(timer_simulator ${CMAKE_CURRENT_BINARY_DIR}/_timer_simulator.c
${CMAKE_CURRENT_SOURCE_DIR}/timer.c)
add_executable(timer_simulator ${CMAKE_CURRENT_BINARY_DIR}/_timer_simulator.c
${CMAKE_CURRENT_SOURCE_DIR}/timer.c)
@@
-19,5
+19,11
@@
add_custom_command(
)
### Add definitions for compile
)
### Add definitions for compile
+if(NOT WIN32)
target_link_libraries(timer_simulator simgrid pthread m )
target_link_libraries(timer_client gras pthread m )
target_link_libraries(timer_simulator simgrid pthread m )
target_link_libraries(timer_client gras pthread m )
+else(NOT WIN32)
+target_link_libraries(timer_simulator simgrid)
+target_link_libraries(timer_client gras)
+endif(NOT WIN32)
+