qxl-wddm-dod/Tools/vs_run.bat
Sameeh Jubran 23f76adecc Upgrade to Windows 10 WDK
* Added Windows 10 Configurations and removed older ones.

* Migration to Visual Studio 2015.

* Set Allow Date, Time and Timestamp property for all builds/platforms.

* Fixed up project configuration names to be consistent.

* unified build output directories

* Simple build script added

Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2016-09-09 11:09:31 +01:00

27 lines
377 B
Batchfile

@echo off
for /f "tokens=*" %%a in (
'cscript.exe /nologo "%~dp0\vs_cmdline.vbs" %*'
) do (
SET vs_cmd=%%a
)
IF NOT DEFINED vs_cmd (
echo Visual Studio not found
EXIT /b 1
)
SET vs_cmd_no_quotes="%vs_cmd:"=%"
IF "vs_cmd_no_quotes" == "" (
echo Visual Studio not found
EXIT /b 2
)
%vs_cmd%
if %ERRORLEVEL% GEQ 1 (
echo Build with Visual Studio FAILED
EXIT /b 3
)
EXIT /b 0