;--------------------------------\r
\r
Name "Simgrid"\r
-outFile "SimGrid@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@_SGjava_@NSIS_WIN_VERSION@@BIN_EXE@"\r
+outFile "SimGrid-@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@_SGjava_@NSIS_WIN_VERSION@@BIN_EXE@"\r
Icon "@CMAKE_HOME_DIRECTORY@\doc\webcruft\SGicon.ico"\r
\r
RequestExecutionLevel admin\r
# install lib\r
CreateDirectory $INSTDIR\lib\r
setOutPath $INSTDIR\lib\r
- file lib\libgras.dll\r
file lib\libsimgrid.dll\r
file lib\libsimgrid.def\r
\r
#install headers\r
CreateDirectory $INSTDIR\include\r
setOutPath $INSTDIR\include\r
- file @CMAKE_HOME_DIRECTORY@\include\gras.h \r
file @CMAKE_HOME_DIRECTORY@\include\xbt.h\r
file include\simgrid_config.h\r
\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\cunit.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml_parse.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\graphxml.h\r
- file @CMAKE_HOME_DIRECTORY@\include\xbt\time.h\r
- file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\synchro_core.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\queue.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\setset.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\mmalloc.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\parmap.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\automaton.h\r
- file @CMAKE_HOME_DIRECTORY@\include\xbt\automatonparse_promela.h\r
- file @CMAKE_HOME_DIRECTORY@\include\xbt\datadesc.h\r
- file @CMAKE_HOME_DIRECTORY@\include\xbt\socket.h\r
- file @CMAKE_HOME_DIRECTORY@\include\xbt\file_stat.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\xbt_os_thread.h\r
file @CMAKE_HOME_DIRECTORY@\include\xbt\RngStream.h\r
\r
setOutPath $INSTDIR\include\simdag\r
file @CMAKE_HOME_DIRECTORY@\include\simdag\simdag.h\r
file @CMAKE_HOME_DIRECTORY@\include\simdag\datatypes.h\r
- \r
- CreateDirectory $INSTDIR\include\smpi\r
- setOutPath $INSTDIR\include\smpi\r
- file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi.h\r
- file @CMAKE_HOME_DIRECTORY@\include\smpi\mpi.h\r
- file @CMAKE_HOME_DIRECTORY@\include\smpi\mpif.h\r
- file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_cocci.h\r
- file include\smpi\smpif.h\r
+\r
\r
CreateDirectory $INSTDIR\include\surf\r
setOutPath $INSTDIR\include\surf\r
file @CMAKE_HOME_DIRECTORY@\include\surf\simgrid_dtd.h\r
file @CMAKE_HOME_DIRECTORY@\include\surf\surf_routing.h\r
\r
- CreateDirectory $INSTDIR\include\gras\r
- setOutPath $INSTDIR\include\gras\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\transport.h\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\virtu.h\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\emul.h\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\process.h\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\module.h\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\messages.h\r
- file @CMAKE_HOME_DIRECTORY@\include\gras\timer.h\r
- \r
- CreateDirectory $INSTDIR\include\amok\r
- setOutPath $INSTDIR\include\amok\r
- file @CMAKE_HOME_DIRECTORY@\include\amok\peermanagement.h\r
- file @CMAKE_HOME_DIRECTORY@\include\amok\bandwidth.h\r
- \r
CreateDirectory $INSTDIR\include\instr\r
setOutPath $INSTDIR\include\instr\r
file @CMAKE_HOME_DIRECTORY@\include\instr\instr.h\r
file bin\colorize\r
file bin\graphicator@BIN_EXE@\r
file bin\simgrid_update_xml\r
+\r
\r
SectionEnd\r
Section "Documentation" DocSection \r
file @CMAKE_HOME_DIRECTORY@\examples\msg\masterslave\deployment_masterslave_forwarder.xml\r
file @CMAKE_HOME_DIRECTORY@\examples\msg\msg_platform.xml\r
file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\CMakeLists.txt\r
- file @CMAKE_HOME_DIRECTORY@\doc\HelloWorld\FindPcreWin.cmake\r
- \r
+\r
# create shortcuts in the start menu programs directory\r
CreateDirectory "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\"\r
createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\HelloWorld project.lnk" "$INSTDIR\examples\HelloWorld"\r
createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\MasterSlave project.lnk" "$INSTDIR\examples\MasterSlave"\r
\r
SectionEnd\r
-Section "Pcre library" PCRESection \r
- # install pcre library\r
- CreateDirectory $INSTDIR\GnuWin32\r
- setOutPath $INSTDIR\GnuWin32\r
- file /r "@PCRE_LIBRARY_PATH@\lib"\r
- file /r "@PCRE_LIBRARY_PATH@\include"\r
- file /r "@PCRE_LIBRARY_PATH@\bin"\r
- file /r "@PCRE_LIBRARY_PATH@\man"\r
- file /r "@PCRE_LIBRARY_PATH@\share"\r
-SectionEnd\r
\r
Section "Java Bindings" JavaSection \r
# install java library and examples\r
CreateDirectory $INSTDIR\examples\simgrid-java\r
setOutPath $INSTDIR\lib\r
- file /nonfatal "$%SIMGRID_JAVA_SRC%\build\SG_java.dll"\r
- file /nonfatal "$%SIMGRID_JAVA_SRC%\build\SG_java.def"\r
- file /nonfatal "$%SIMGRID_JAVA_SRC%\simgrid.jar"\r
+ file /nonfatal "lib\simgrid-java.dll"\r
+ file /nonfatal "lib\simgrid-java.def"\r
+ file /nonfatal "simgrid.jar"\r
setOutPath $INSTDIR\examples\simgrid-java\r
- file /nonfatal /r "$%SIMGRID_JAVA_SRC%\examples\"\r
+ file /nonfatal /r ".\examples\"\r
# create shortcuts in the start menu programs directory\r
createShortCut "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\Examples\Java project.lnk" "$INSTDIR\examples\simgrid-java"\r
# create a popup box, with an OK button"\r
messageBox MB_OK "WARNING! Please add to your environment variable CLASSPATH value '$INSTDIR\lib\simgrid.jar;.' before executing Simgrid classes."\r
SectionEnd\r
\r
+Section "SMPI Library" SMPISection\r
+ setOutPath $INSTDIR\bin\r
+ file bin\smpicc\r
+ file bin\smpif2c\r
+ file bin\smpiff\r
+ file bin\smpirun\r
+ file bin\smpif90\r
+ \r
+ setOutPath $INSTDIR\lib\r
+ \r
+ CreateDirectory $INSTDIR\include\smpi\r
+ setOutPath $INSTDIR\include\smpi\r
+ file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi.h\r
+ file @CMAKE_HOME_DIRECTORY@\include\smpi\mpi.h\r
+ file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_cocci.h\r
+ file @CMAKE_HOME_DIRECTORY@\include\smpi\smpi_main.h\r
+ file include\smpi\mpif.h\r
+ file include\smpi\smpif.h\r
+ \r
+ CreateDirectory $INSTDIR\examples\smpi\r
+ file /r @CMAKE_HOME_DIRECTORY@\examples\smpi\tracing\r
+ file /r @CMAKE_HOME_DIRECTORY@\examples\smpi\replay\r
+ setOutPath $INSTDIR\examples\smpi\r
+ file @CMAKE_HOME_DIRECTORY@\examples\smpi\bcbench.c\r
+ file @CMAKE_HOME_DIRECTORY@\examples\smpi\mvmul.c\r
+ file /r @CMAKE_HOME_DIRECTORY@\examples\smpi\mc\r
+ file @CMAKE_HOME_DIRECTORY@\examples\smpi\hostfile\r
+ file @CMAKE_HOME_DIRECTORY@\examples\msg\small_platform_with_routers.xml\r
+ file @CMAKE_HOME_DIRECTORY@\examples\smpi\CMakeLists.txt\r
+SectionEnd\r
+\r
# default section start\r
section \r
# define uninstaller name\r
# Set Variables\r
WriteRegExpandStr ${env_hkcu} SIMGRID_ROOT $INSTDIR\r
WriteRegExpandStr ${env_hkcu} SIMGRID_VERSION @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@\r
- WriteRegExpandStr ${env_hkcu} SIMGRID_PCRE_LIBRARY_PATH $INSTDIR\GnuWin32\r
- WriteRegExpandStr ${env_hkcu} SIMGRID_PCRE_LIBRARY_VERSION "8.21"\r
\r
WriteRegStr HKCU "SOFTWARE\SimGrid" "Version" "@SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
WriteRegStr HKCU "SOFTWARE\SimGrid" "InstallPath" "$INSTDIR"\r
# create a popup box, with an OK button"\r
messageBox MB_OK "WARNING! Please add to your environment variable PATH value '$INSTDIR\lib;$INSTDIR\GnuWin32\bin' before executing Simgrid binaries."\r
\r
- SetRebootFlag true\r
+ SetRebootFlag false\r
\r
# default section end\r
sectionEnd\r
\r
-LangString DESC_LibSection ${LANG_ENGLISH} "Install Simgrid and gras libraries with associated headers."\r
+LangString DESC_LibSection ${LANG_ENGLISH} "Install Simgrid libraries with associated headers."\r
LangString DESC_BinSection ${LANG_ENGLISH} "Install some useful tools for Simgrid."\r
LangString DESC_DocSection ${LANG_ENGLISH} "Generated (doxygen) documentation."\r
LangString DESC_ExamplesSection ${LANG_ENGLISH} "Simgrid's HelloWorld example and some classical platforms."\r
-LangString DESC_PCRESection ${LANG_ENGLISH} "Install the PCRE and PCREPOSIX libraries for SimGrid."\r
LangString DESC_JAVASection ${LANG_ENGLISH} "Install the Java binding and examples."\r
+LangString DESC_SMPISection ${LANG_ENGLISH} "Install the SMPI library, headers, and examples."\r
\r
-LangString DESC_LibSection ${LANG_FRENCH} "Installer les librairies Simgrid et Gras et leurs Entêtes."\r
+\r
+LangString DESC_LibSection ${LANG_FRENCH} "Installer les librairies Simgrid et leurs Ent�tes."\r
LangString DESC_BinSection ${LANG_FRENCH} "Installer les outils optionnels."\r
LangString DESC_DocSection ${LANG_FRENCH} "Installer la documentation."\r
LangString DESC_ExamplesSection ${LANG_FRENCH} "Installer un exemple 'HelloWorld' et des fichiers de plate-formes types."\r
-LangString DESC_PCRESection ${LANG_FRENCH} "Installer les librairies PCRE et PCREPOSIX for SimGrid."\r
-LangString DESC_JAVASection ${LANG_FRENCH} "Installer la librairie Simgrid-java and les examples."\r
+LangString DESC_JAVASection ${LANG_FRENCH} "Installer la librairie Simgrid-java et les exemples."\r
+LangString DESC_SMPISection ${LANG_FRENCH} "Installer la librairie SMPI, ses en-t�tes, et ses exemples."\r
\r
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN\r
!insertmacro MUI_DESCRIPTION_TEXT ${LibSection} $(DESC_LibSection)\r
!insertmacro MUI_DESCRIPTION_TEXT ${BinSection} $(DESC_BinSection)\r
!insertmacro MUI_DESCRIPTION_TEXT ${DocSection} $(DESC_DocSection)\r
!insertmacro MUI_DESCRIPTION_TEXT ${ExamplesSection} $(DESC_ExamplesSection)\r
- !insertmacro MUI_DESCRIPTION_TEXT ${PCRESection} $(DESC_PCRESection)\r
!insertmacro MUI_DESCRIPTION_TEXT ${JAVASection} $(DESC_JAVASection)\r
+ !insertmacro MUI_DESCRIPTION_TEXT ${SMPISection} $(DESC_SMPISection)\r
!insertmacro MUI_FUNCTION_DESCRIPTION_END\r
\r
# create a section to define what the uninstaller does.\r
delete $INSTDIR\uninstaller@BIN_EXE@\r
\r
# delete installed libs\r
- delete $INSTDIR\lib\libgras.dll\r
delete $INSTDIR\lib\libsimgrid.dll\r
delete $INSTDIR\lib\libsimgrid.def\r
\r
delete $INSTDIR\bin\tesh\r
\r
# delete installed headers\r
- delete $INSTDIR\include\gras.h \r
delete $INSTDIR\include\xbt.h\r
delete $INSTDIR\include\simgrid_config.h\r
delete $INSTDIR\include\xbt\misc.h\r
delete $INSTDIR\include\smpi\mpi.h\r
delete $INSTDIR\include\smpi\mpif.h\r
delete $INSTDIR\include\smpi\smpi_cocci.h\r
+ delete $INSTDIR\include\smpi\smpi_main.h\r
delete $INSTDIR\include\smpi\smpif.h\r
delete $INSTDIR\include\surf\surfxml_parse.h\r
delete $INSTDIR\include\surf\simgrid_dtd.h\r
delete $INSTDIR\include\surf\surf_routing.h\r
- delete $INSTDIR\include\gras\datadesc.h\r
- delete $INSTDIR\include\gras\transport.h\r
- delete $INSTDIR\include\gras\virtu.h\r
- delete $INSTDIR\include\gras\emul.h\r
- delete $INSTDIR\include\gras\process.h\r
- delete $INSTDIR\include\gras\module.h\r
- delete $INSTDIR\include\gras\messages.h\r
- delete $INSTDIR\include\gras\timer.h\r
- delete $INSTDIR\include\amok\peermanagement.h\r
- delete $INSTDIR\include\amok\bandwidth.h\r
delete $INSTDIR\include\instr\instr.h\r
\r
# delete EXTRA FILES\r
RMDir "$INSTDIR\lib"\r
RMDir "$INSTDIR\include\simix"\r
RMDir "$INSTDIR\include\instr"\r
- RMDir "$INSTDIR\include\amok"\r
- RMDir "$INSTDIR\include\gras"\r
RMDir "$INSTDIR\include\surf"\r
RMDir "$INSTDIR\include\smpi"\r
RMDir "$INSTDIR\include\simdag"\r
RMDir /r "$INSTDIR\examples"\r
RMDir /r "$SMPROGRAMS\SimGrid @SIMGRID_VERSION_MAJOR@.@SIMGRID_VERSION_MINOR@.@SIMGRID_VERSION_PATCH@"\r
\r
- # delete PCRE\r
- RMDir /r "$INSTDIR\GnuWin32"\r
- \r
# Delete variable\r
DeleteRegValue ${env_hkcu} SIMGRID_ROOT\r
DeleteRegValue ${env_hkcu} SIMGRID_VERSION\r
- DeleteRegValue ${env_hkcu} SIMGRID_PCRE_LIBRARY_PATH\r
- DeleteRegValue ${env_hkcu} SIMGRID_PCRE_LIBRARY_VERSION\r
DeleteRegKey HKCU "SOFTWARE\SimGrid"\r
\r
# delete JAVA-bindings\r
RMDir /r "$INSTDIR"\r
\r
# uninstall section end\r
-sectionEnd
\ No newline at end of file
+sectionEnd\r