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
Simcalls generated by python script
[simgrid.git]
/
buildtools
/
Cmake
/
MakeLib.cmake
diff --git
a/buildtools/Cmake/MakeLib.cmake
b/buildtools/Cmake/MakeLib.cmake
index
93ace1d
..
adcd92e
100644
(file)
--- a/
buildtools/Cmake/MakeLib.cmake
+++ b/
buildtools/Cmake/MakeLib.cmake
@@
-38,7
+38,7
@@
endif()
# Compute the dependencies of SimGrid
#####################################
# Compute the dependencies of SimGrid
#####################################
-set(SIMGRID_DEP "-lm")
+set(SIMGRID_DEP "-lm
-lstdc++
")
if(pthread)
if(${CONTEXT_THREADS})
if(pthread)
if(${CONTEXT_THREADS})
@@
-82,6
+82,10
@@
if(HAVE_GRAPHVIZ)
endif()
endif()
endif()
endif()
+if(HAVE_LIBSIGC++)
+ SET(SIMGRID_DEP "${SIMGRID_DEP} -lsigc-2.0")
+endif()
+
if(HAVE_GTNETS)
SET(SIMGRID_DEP "${SIMGRID_DEP} -lgtnets")
endif()
if(HAVE_GTNETS)
SET(SIMGRID_DEP "${SIMGRID_DEP} -lgtnets")
endif()
@@
-136,6
+140,9
@@
endif()
# Dependencies from maintainer mode
###################################
# Dependencies from maintainer mode
###################################
+if(enable_maintainer_mode AND PYTHON_EXE)
+ add_dependencies(simgrid simcalls_generated_src)
+endif()
if(enable_maintainer_mode AND BISON_EXE AND LEX_EXE)
add_dependencies(simgrid automaton_generated_src)
endif()
if(enable_maintainer_mode AND BISON_EXE AND LEX_EXE)
add_dependencies(simgrid automaton_generated_src)
endif()