From f802f802a4cdedb753848a1ac5a550c8e27d3d4a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 Mar 2012 16:08:23 +0300 Subject: Add gdb to windows build. --- packaging/windows/evol.nsi | 10 ++++++++++ packaging/windows/setup.nsi | 11 ++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2