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
clean the build of the jarfile so that it works with cmake >= 2.8.12 too
[simgrid.git]
/
buildtools
/
Cmake
/
MakeLibWin.cmake
diff --git
a/buildtools/Cmake/MakeLibWin.cmake
b/buildtools/Cmake/MakeLibWin.cmake
index
081c6e0
..
f596b1f
100644
(file)
--- a/
buildtools/Cmake/MakeLibWin.cmake
+++ b/
buildtools/Cmake/MakeLibWin.cmake
@@
-1,6
+1,9
@@
### Make Libs
#>gcc c:\simgrid-trunk\examples\msg\icomms\peer.c -static -Lc:\simgrid-trunk\lib -lsimgrid -Ic:\simgrid-trunk\include -lwsock32
### Make Libs
#>gcc c:\simgrid-trunk\examples\msg\icomms\peer.c -static -Lc:\simgrid-trunk\lib -lsimgrid -Ic:\simgrid-trunk\include -lwsock32
+if(enable_java)
+ include(${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/MakeJava.cmake)
+endif()
add_library(simgrid SHARED ${simgrid_sources})
add_library(simgrid SHARED ${simgrid_sources})
@@
-24,7
+27,7
@@
else()
)
endif()
)
endif()
-set(SIMGRID_DEP "-lws2_32 -L${PATH_P
CRE_LIB} -L${PATH_PTHREAD_LIB} -lm -lpcre
-lpthreadGC2")
+set(SIMGRID_DEP "-lws2_32 -L${PATH_P
THREAD_LIB} -lm
-lpthreadGC2")
if(ARCH_32_BITS)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32 -march=i486")
if(ARCH_32_BITS)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32 -march=i486")