summaryrefslogtreecommitdiff
path: root/packaging/windows/setup.nsi
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-01 16:08:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-01 16:34:05 +0300
commitf802f802a4cdedb753848a1ac5a550c8e27d3d4a (patch)
tree2f82c608e836f965120d8d7b6f4e60462ea5f98b /packaging/windows/setup.nsi
parentd97fabc2a9408a35ecfab733573b6b7592922f0d (diff)
downloadmv-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.tar.gz
mv-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.tar.bz2
mv-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.tar.xz
mv-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.zip
Add gdb to windows build.
Diffstat (limited to 'packaging/windows/setup.nsi')
-rw-r--r--packaging/windows/setup.nsi11
1 files changed, 10 insertions, 1 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index a68f9cbb2..e160204cb 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -356,6 +356,13 @@ Section /o "Portable" SecPortable
File "portable.xml"
SectionEnd
+Section /o "Debugger" SecDebug
+ SetOutPath "$INSTDIR"
+ File "${DLLDIR}\gdb.exe"
+ CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe"
+ CreateShortCut "$DESKTOP\ManaPlus (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe"
+SectionEnd
+
Section /o "Evol Online music" SecEvolMusic
AddSize 9787
CreateDirectory "$INSTDIR\data\music"
@@ -396,10 +403,10 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecEvol} "Create shortcuts for Evol Online."
!insertmacro MUI_DESCRIPTION_TEXT ${SecEvolMusic} "Background evol music. (If selected the evol music will be downloaded from the internet.)"
!insertmacro MUI_DESCRIPTION_TEXT ${SecTrans} "Translations for the user interface. Uncheck this component to leave it in English."
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecDebug} "Install debugger for try to find stability problems."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
-
Section -AdditionalIcons
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\Mana\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
@@ -431,8 +438,10 @@ Section Uninstall
Delete "$SMPROGRAMS\Mana\Uninstall.lnk"
Delete "$DESKTOP\ManaPlus.lnk"
+ Delete "$DESKTOP\ManaPlus (debug).lnk"
Delete "$DESKTOP\ManaPlus (tests).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus.lnk"
+ Delete "$SMPROGRAMS\Mana\ManaPlus (debug).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (no opengl).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (safemode).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (tests).lnk"