mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
674bfdb354
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.
19 lines
382 B
Batchfile
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
|