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

18 lines
376 B
Batchfile

@echo off
set FB_DBG=
set FB_OBJ_DIR=release
set FB_CLEAN=/build
set FB_ICU=
for %%v in ( %* ) do (
( if /I "%%v"=="DEBUG" ( (set FB_DBG=TRUE) && (set FB_OBJ_DIR=debug) ) )
( if /I "%%v"=="CLEAN" (set FB_CLEAN=/rebuild) )
( if /I "%%v"=="ICU" (set FB_ICU=1) )
)
if %MSVC_VERSION% GEQ 8 (set FB_OBJ_DIR=%FB_TARGET_PLATFORM%\%FB_OBJ_DIR%)
@echo Executed %0
@echo.