mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
MInor tweaks to a) speed up testing the installer, and b) document the available options.
This commit is contained in:
parent
28d7288acc
commit
d3a5c1f6f8
@ -6,14 +6,26 @@ set ERRLEV=0
|
||||
set FB_NOCLEAN=
|
||||
set FBBUILD_BUILDTYPE=release
|
||||
set FBBUILD_INCLUDE_PDB=
|
||||
set FBBUILD_MAKE_KITS_ONLY=
|
||||
|
||||
::Check if on-line help is required
|
||||
for %%v in ( %1 %2 %3 %4 %5 %6 %7 %8 %9 ) do (
|
||||
( @if /I "%%v"=="-h" (goto :HELP & goto :EOF) )
|
||||
( @if /I "%%v"=="/h" (goto :HELP & goto :EOF) )
|
||||
( @if /I "%%v"=="HELP" (goto :HELP & goto :EOF) )
|
||||
)
|
||||
|
||||
|
||||
:: Read the command line
|
||||
for %%v in ( %* ) do (
|
||||
( if /I "%%v"=="NOCLEAN" (set FB_NOCLEAN=1) )
|
||||
( if /I "%%v"=="DEBUG" (set FBBUILD_BUILDTYPE=debug) )
|
||||
( if /I "%%v"=="PDB" (set FBBUILD_INCLUDE_PDB=1) )
|
||||
( if /I "%%v"=="REPACK" (set FBBUILD_MAKE_KITS_ONLY=1) )
|
||||
)
|
||||
|
||||
if defined FBBUILD_MAKE_KITS_ONLY (goto :MAKE_KITS & goto :EOF)
|
||||
|
||||
:: Go to work
|
||||
if not defined FB_NOCLEAN (call clean_all)
|
||||
:: We do not support debug builds of icu, so we don't pass %FBBUILD_BUILDTYPE%
|
||||
@ -26,6 +38,7 @@ if "%ERRLEV%"=="1" goto :END
|
||||
call make_examples %FBBUILD_BUILDTYPE%
|
||||
if "%ERRLEV%"=="1" goto :END
|
||||
|
||||
:MAKE_KITS
|
||||
:: Package everything up
|
||||
pushd ..\install\arch-specific\win32
|
||||
call BuildExecutableInstall ISX ZIP EMB %FBBUILD_BUILDTYPE%
|
||||
@ -36,7 +49,22 @@ call BuildExecutableInstall ISX ZIP EMB %FBBUILD_BUILDTYPE% PDB
|
||||
)
|
||||
popd
|
||||
|
||||
goto:END
|
||||
goto :END
|
||||
|
||||
:HELP
|
||||
@echo.
|
||||
@echo The following params may be passed:
|
||||
@echo.
|
||||
@echo NOCLEAN - don't run CLEAN_ALL.BAT
|
||||
@echo.
|
||||
@echo DEBUG - Do a DEBUG build (for experienced developers only.)
|
||||
@echo This switch is not needed to debug Firebird.
|
||||
@echo.
|
||||
@echo PDB - Create PDB packages as well as standard kits
|
||||
@echo.
|
||||
@echo REPACK - Don't build - just repack kits.
|
||||
@echo.
|
||||
@goto :EOF
|
||||
|
||||
:END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user