23f76adecc
* 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>
27 lines
377 B
Batchfile
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
|