diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-01-13 14:14:46 -0800 |
---|---|---|
committer | Rahul Kumar <rahku@microsoft.com> | 2016-01-22 16:14:41 -0800 |
commit | a095884c496bf77ff8d2b3f30a567a5cb448873b (patch) | |
tree | 2f19e983960752d9084e837fa2e7ccb4317b2f1d /src/scripts | |
parent | 0227fbbc42c3df3bd3f9f1b905fe61a6caea1e32 (diff) | |
download | coreclr-a095884c496bf77ff8d2b3f30a567a5cb448873b.tar.gz coreclr-a095884c496bf77ff8d2b3f30a567a5cb448873b.tar.bz2 coreclr-a095884c496bf77ff8d2b3f30a567a5cb448873b.zip |
Use coreclr buildtools nuget package instead of compiling the tools used during build.
This only applies to windows build.
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/buildtools/restorebuildtools.bat | 11 | ||||
-rw-r--r-- | src/scripts/buildtools/restorebuildtools.proj | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/scripts/buildtools/restorebuildtools.bat b/src/scripts/buildtools/restorebuildtools.bat new file mode 100644 index 0000000000..a07e81759f --- /dev/null +++ b/src/scripts/buildtools/restorebuildtools.bat @@ -0,0 +1,11 @@ +REM ========================================================================================= +REM === +REM === Restore build tools required for native build +REM === +REM ========================================================================================= +echo Restore coreclr build tools nuget package +setlocal +:: Set the environment for the managed build +call "%__VSToolsRoot%\VsDevCmd.bat" +%_msbuildexe% "%~dp0restorebuildtools.proj" /p:OutputPath="%__IntermediatesDir%" /nodeReuse:false +endlocal
\ No newline at end of file diff --git a/src/scripts/buildtools/restorebuildtools.proj b/src/scripts/buildtools/restorebuildtools.proj new file mode 100644 index 0000000000..cc6c6d2ba9 --- /dev/null +++ b/src/scripts/buildtools/restorebuildtools.proj @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\..\..\dir.props" /> + + <Import Project="..\..\..\dir.targets" /> + + <Import Project="..\..\..\dir.traversal.targets" /> +</Project>
\ No newline at end of file |