Add Package ES build config files and scripts (#1834)
This commit is contained in:
Родитель
6b8657531d
Коммит
40b8a85594
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<SignConfigXML>
|
||||
<job platform="x86" certSubject="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" configuration="Release" dest="__OUTPATHROOT__" jobname="DirectX Shader Compiler" approvers="">
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxcompiler.dll" />
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxc.exe" />
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxrfallbackcompiler.dll"/>
|
||||
</job>
|
||||
<job platform="x64" certSubject="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" configuration="Release" dest="__OUTPATHROOT__" jobname="DirectX Shader Compiler" approvers="">
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxcompiler.dll" />
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxc.exe" />
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxrfallbackcompiler.dll"/>
|
||||
</job>
|
||||
<job platform="arm64" certSubject="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" configuration="Release" dest="__OUTPATHROOT__" jobname="DirectX Shader Compiler" approvers="">
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxcompiler.dll" />
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxc.exe" />
|
||||
<file signType="Authenticode" src="__INPATHROOT__\dxrfallbackcompiler.dll"/>
|
||||
</job>
|
||||
</SignConfigXML>
|
|
@ -0,0 +1,18 @@
|
|||
echo off
|
||||
|
||||
REM %1 - $(BuildPlatform)
|
||||
REM %2 - $(Build.SourcesDirectory)
|
||||
REM %3 - $(Build.BinariesDirectory)
|
||||
|
||||
set BUILD_PLATFORM=%1
|
||||
set HLSL_SRC_DIR=%~f2
|
||||
set HLSL_BLD_DIR=%~f3\%BUILD_PLATFORM%
|
||||
|
||||
rem Add Windows 10 SDK on PATH
|
||||
set WIN10_SDK_PATH=%HLSL_SRC_DIR%\Packages\MS.Uwp.RS5RLS.Native.10.0.17763.1\l
|
||||
set WIN10_SDK_VERSION=10.0.17763
|
||||
set PATH=%WIN10_SDK_PATH%;%PATH%;
|
||||
|
||||
rem Add Python and VS CMake on PATH
|
||||
set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\
|
||||
set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\;
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="msftnuget" value="https://microsoft.pkgs.visualstudio.com/_packaging/MSFTNuget/nuget/v3/index.json" />
|
||||
<add key="Taef" value="https://microsoft.pkgs.visualstudio.com/_packaging/Taef/nuget/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<!-- Windows 10 SDK package -->
|
||||
<package id="MS.Uwp.rs5rls.Native" version="10.0.17763.1" />
|
||||
<!-- TAEF package -->
|
||||
<package id="Taef.Redist" version="10.33.181113003-develop" />
|
||||
</packages>
|
|
@ -0,0 +1,14 @@
|
|||
echo off
|
||||
|
||||
REM %1 - $(BuildPlatform)
|
||||
REM %2 - $(Build.SourcesDirectory)
|
||||
REM %3 - $(Build.BinariesDirectory)
|
||||
|
||||
echo Running pre_build_setup.cmd
|
||||
|
||||
call %~p0\common_setup.cmd %1 %2 %3
|
||||
|
||||
echo Build platform: %BUILD_PLATFORM%
|
||||
echo HLSL source directory: %HLSL_SRC_DIR%
|
||||
echo HLSL build directory: %HLSL_BLD_DIR%
|
||||
echo SDK path: %WIN10_SDK_PATH%
|
|
@ -0,0 +1,17 @@
|
|||
echo off
|
||||
|
||||
REM %1 - $(BuildPlatform)
|
||||
REM %2 - $(Build.SourcesDirectory)
|
||||
REM %3 - $(Build.BinariesDirectory)
|
||||
|
||||
echo Running pre_test_setup.cmd
|
||||
|
||||
call %~p0\common_setup.cmd %1 %2 %3
|
||||
|
||||
echo Build platform: %BUILD_PLATFORM%
|
||||
echo HLSL build directory: %HLSL_BLD_DIR%
|
||||
|
||||
rem Add TAEF package on PATH
|
||||
set TAEF_PATH=%HLSL_SRC_DIR%\Packages\Taef.Redist.10.33.181113003-develop\build\Binaries\Release\x64
|
||||
set PATH=%PATH%;%TAEF_PATH%
|
||||
echo TAEF path: %TAEF_PATH%
|
Загрузка…
Ссылка в новой задаче