8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:03:02 +01:00
firebird-mirror/builds/win32/parse.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

19 lines
382 B
Batchfile

@echo off
@echo.
@call setenvvar.bat
@if errorlevel 1 (goto :END)
@echo Generating parse.cpp and dsql.tab.h
%FB_GEN_DIR%\btyacc -l -d -S %FB_ROOT_PATH%\src\dsql\btyacc_fb.ske %FB_ROOT_PATH%\src\dsql\parse.y
@if errorlevel 1 (exit /B 1)
@copy y_tab.h %FB_ROOT_PATH%\src\dsql\dsql.tab.h > nul
@copy y_tab.c %FB_ROOT_PATH%\src\dsql\parse.cpp > nul
@del y_tab.h
@del y_tab.c
:END