mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Make the VC++ Express build not show a popup everytime setenv.bat is called - one time is enough
This commit is contained in:
parent
846ccdeaab
commit
46ac36e36c
@ -60,10 +60,12 @@ if DEFINED VS71COMNTOOLS (
|
||||
::=================
|
||||
:SET_MSVC_VER
|
||||
|
||||
@vcexpress /? >nul 2>nul
|
||||
@if not errorlevel 9009 ((set MSVC_VERSION=8) & (set VS_VER=msvc8) & (set VS_VER_EXPRESS=1) & (goto :SET_FB_TARGET_PLATFORM))
|
||||
@if "%VS_VER_EXPRESS%" == "" (
|
||||
@vcexpress /? >nul 2>nul
|
||||
@if not errorlevel 9009 ((set MSVC_VERSION=8) & (set VS_VER=msvc8) & (set VS_VER_EXPRESS=1) & (goto :SET_FB_TARGET_PLATFORM))
|
||||
|
||||
@set VS_VER_EXPRESS=
|
||||
@set VS_VER_EXPRESS=
|
||||
)
|
||||
|
||||
@for /f "delims=." %%a in ('@devenv /?') do (
|
||||
@for /f "tokens=6" %%b in ("%%a") do ((set MSVC_VERSION=%%b) & (set VS_VER=msvc%%b) & (goto :SET_FB_TARGET_PLATFORM))
|
||||
|
Loading…
Reference in New Issue
Block a user