Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2016-01-08 03:04:26 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2016-01-08 03:04:26 +0300
commit8d83c84da7ec75e947a65f5b9938570054940135 (patch)
treea8ca40240d5c2af35c46e30fddcc3cbe583a795d /build.cmd
parenta5d558bcf7713e56c237de704f3d70c4927d8f44 (diff)
Open Source CLRCompression
[tfs-changeset: 1562317]
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd11
1 files changed, 9 insertions, 2 deletions
diff --git a/build.cmd b/build.cmd
index 8276e03430..3905d97672 100644
--- a/build.cmd
+++ b/build.cmd
@@ -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