8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:43:03 +01:00
firebird-mirror/builds/win32/set_build_target.bat
skidder 086875af9f Maintaining VC7 build manually is too labor intensive and leads to strange engine bugs.
Instead re-generate MSVC7 build files from MSVC8 using VSPC utility:
http://sourceforge.net/projects/vspc

This produces working build.
2009-03-04 02:48:18 +00:00

18 lines
397 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) && (set FB_DBG=) ) )
)
if %MSVC_VERSION% GEQ 7 (set FB_OBJ_DIR=%FB_TARGET_PLATFORM%\%FB_OBJ_DIR%)
@echo Executed %0
@echo.