8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:03:02 +01:00
firebird-mirror/builds/win32/blrtable.bat
paul_reeves 674bfdb354 Use environment variables to encapsulate directory layout differences between VS2005 and earlier.
Use FB_GEN_DIR env var. to determin location of generated output.
Tidy up usage of FB_GEN_DB_DIR - only use with unix style paths.
Generate platform specific log files during build process.
2007-09-06 13:25:04 +00:00

20 lines
454 B
Batchfile

@echo off
@cl -Ob2iytp -Gs -DWIN95 -W3 -G4 -Gd -MD -I..\..\src\include -I..\..\src\include\gen -DSUPERSERVER -DNOMSG -D_X86_=1 -DWIN32 -DI386 ..\..\src\misc\blrtable.cpp > blrtable_%FB_TARGET_PLATFORM%.log 2>&1
@if errorlevel 1 goto :ERROR
@blrtable.exe > blrtable.h
@copy blrtable.h ..\..\src\include\gen\blrtable.h > nul
@del blrtable.exe
@del blrtable.obj
@del blrtable.h
goto :EOF
:ERROR
@echo.
@echo A compiler error occurred.
@echo.
goto :EOF