diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2016-01-08 03:04:26 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2016-01-08 03:04:26 +0300 |
commit | 8d83c84da7ec75e947a65f5b9938570054940135 (patch) | |
tree | a8ca40240d5c2af35c46e30fddcc3cbe583a795d /build.cmd | |
parent | a5d558bcf7713e56c237de704f3d70c4927d8f44 (diff) |
Open Source CLRCompression
[tfs-changeset: 1562317]
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -9,12 +9,12 @@ setlocal if not defined VisualStudioVersion ( if defined VS140COMNTOOLS ( call "%VS140COMNTOOLS%\VsDevCmd.bat" - goto :EnvSet + goto :CheckNative ) if defined VS120COMNTOOLS ( call "%VS120COMNTOOLS%\VsDevCmd.bat" - goto :EnvSet + goto :CheckNative ) echo Error: build.cmd requires Visual Studio 2013 or 2015. @@ -22,6 +22,13 @@ if not defined VisualStudioVersion ( exit /b 1 ) +:CheckNative +:: Run the Native Windows build +call %~dp0src\native\Windows\build-native.cmd %* +IF ERRORLEVEL 1 ( + echo Native component build failed. +) + :EnvSet :: Clear the 'Platform' env variable for this session, :: as it's a per-project setting within the build, and |