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
Make the compilation succed for windows.
[simgrid.git]
/
buildtools
/
Cmake
/
Distrib.cmake
diff --git
a/buildtools/Cmake/Distrib.cmake
b/buildtools/Cmake/Distrib.cmake
index
9aea98e
..
0e63df6
100644
(file)
--- a/
buildtools/Cmake/Distrib.cmake
+++ b/
buildtools/Cmake/Distrib.cmake
@@
-15,7
+15,8
@@
install(DIRECTORY "${CMAKE_HOME_DIRECTORY}/doc/html/"
)
#### Generate the manpages
)
#### Generate the manpages
-if( NOT MANPAGE_DIR )
+if(NOT WIN32)
+if( NOT MANPAGE_DIR)
set( MANPAGE_DIR ${CMAKE_BINARY_DIR}/manpages )
endif( NOT MANPAGE_DIR)
set( MANPAGE_DIR ${CMAKE_BINARY_DIR}/manpages )
endif( NOT MANPAGE_DIR)
@@
-27,6
+28,8
@@
add_custom_target(manpages ALL
install(FILES ${MANPAGE_DIR}/simgrid_update_xml.1
DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/usr/share/man/man1)
install(FILES ${MANPAGE_DIR}/simgrid_update_xml.1
DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/usr/share/man/man1)
+endif(NOT WIN32)
+
# binaries
install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/smpicc
${CMAKE_BINARY_DIR}/bin/smpif2c
# binaries
install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/smpicc
${CMAKE_BINARY_DIR}/bin/smpif2c