8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 13:23:02 +01:00
firebird-mirror/builds/win32/build_all.bat

46 lines
930 B
Batchfile

@echo off
:CHECK_ENV
@if /I "%DB_PATH%"=="" (goto :HELP & goto :EOF) else (@goto :MAIN)
::===========
:MAIN
@echo.
@del ..\..\src\include\gen\autoconfig.h
@copy ..\..\src\include\gen\autoconfig_msvc.h ..\..\src\include\gen\autoconfig.h
@echo Preprocessing files required to do a boot-build...
@call build_boot.bat BOOT
@call preprocess.bat BOOT
@echo.
@echo Making necessary boot-build executables...
@call build_boot.bat
@echo.
@echo Preprocessing the entire source tree...
@call preprocess.bat
@echo Building message file and codes header...
@call build_msg.bat
@echo Building BLR Table
@call blrtable.bat
@goto :NEXT_STEP
::==============
:NEXT_STEP
@echo.
@echo You may now run makeX_debug.bat or makeX_release.bat
@echo. where X is your version of MSVC - 6 or 7.
@echo.
@goto :EOF
::==============
:HELP
@echo.
@echo You must run prepare.bat before running this script
@echo.
@goto :EOF
::==============
:END