nsis-debug-symbols-20040621

Force Debugging Symbols to on when Debug installer is used
This commit is contained in:
Robert S Murawski IV 2004-06-21 22:22:39 +00:00 committed by Jeffrey Altman
parent 9cae2bb1f3
commit b9683ad850

View File

@ -1341,11 +1341,15 @@ DoLoop:
SectionSetFlags ${secLoopback} $0
SkipLoop:
; Never install debug symbols unless explicitly selected
!IFDEF DEBUG
; Never install debug symbols unless explicitly selected, except in DEBUG mode
!IFNDEF DEBUG
SectionGetFlags ${secDebug} $0
IntOp $0 $0 & ${SECTION_OFF}
SectionSetFlags ${secDebug} $0
!ELSE
SectionGetFlags ${secDebug} $0
IntOp $0 $0 | ${SF_SELECTED}
SectionSetFlags ${secDebug} $0
!ENDIF
; Our logic should be like this.
; 1) If no AFS components are installed, we do a clean install with default options. (Client/Docs)