summaryrefslogtreecommitdiff
path: root/packaging/windows
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
parentd97fabc2a9408a35ecfab733573b6b7592922f0d (diff)
downloadmanaverse-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.tar.gz
manaverse-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.tar.bz2
manaverse-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.tar.xz
manaverse-f802f802a4cdedb753848a1ac5a550c8e27d3d4a.zip
Add gdb to windows build.
Diffstat (limited to 'packaging/windows')
-rw-r--r--packaging/windows/evol.nsi10
-rw-r--r--packaging/windows/setup.nsi11
2 files changed, 20 insertions, 1 deletions
diff --git a/packaging/windows/evol.nsi b/packaging/windows/evol.nsi
index 73554e0cf..5b84a2ff7 100644
--- a/packaging/windows/evol.nsi
+++ b/packaging/windows/evol.nsi
@@ -355,6 +355,13 @@ Section /o "Portable" SecPortable
File "portable.xml"
SectionEnd
+Section /o "Debugger" SecDebug
+ SetOutPath "$INSTDIR"
+ File "${DLLDIR}\gdb.exe"
+ CreateShortCut "$SMPROGRAMS\EvolOnline\EvolOnline (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe" 1
+ CreateShortCut "$DESKTOP\EvolOnline (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe" 1
+SectionEnd
+
Section /o "Evol Online music" SecEvolMusic
AddSize 9787
CreateDirectory "$INSTDIR\data\music"
@@ -376,6 +383,7 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecPortable} "Portable client. (If selected client will work as portable client.)"
!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
@@ -412,8 +420,10 @@ Section Uninstall
Delete "$SMPROGRAMS\EvolOnline\Uninstall.lnk"
Delete "$DESKTOP\EvolOnline.lnk"
+ Delete "$DESKTOP\EvolOnline (debug).lnk"
Delete "$DESKTOP\EvolOnline (tests).lnk"
Delete "$SMPROGRAMS\EvolOnline\EvolOnline.lnk"
+ Delete "$SMPROGRAMS\EvolOnline\EvolOnline (debug).lnk"
Delete "$SMPROGRAMS\EvolOnline\EvolOnline (no opengl).lnk"
Delete "$SMPROGRAMS\EvolOnline\EvolOnline (safemode).lnk"
Delete "$SMPROGRAMS\EvolOnline\EvolOnline (tests).lnk"
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"