mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-27 06:40:07 +00:00
ADO pipeline for SDK builds (#511)
This commit is contained in:
parent
118ca16e04
commit
63960e5fd6
@ -42,7 +42,7 @@ variables:
|
|||||||
EXTRACTED_FOLDER: $(ExtractedFolder)
|
EXTRACTED_FOLDER: $(ExtractedFolder)
|
||||||
GDK_EDITION: $(GDKEditionNumber)
|
GDK_EDITION: $(GDKEditionNumber)
|
||||||
URL_FEED: $(ADOFeedURL)
|
URL_FEED: $(ADOFeedURL)
|
||||||
GameDKLatest: '$(ExtractedFolder)\GDK\Microsoft.gdk.xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\'
|
GameDKLatest: '$(ExtractedFolder)\Microsoft.gdk.xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\'
|
||||||
skipNugetSecurityAnalysis: true # We explicitly call this task so we don't need it to be auto-injected
|
skipNugetSecurityAnalysis: true # We explicitly call this task so we don't need it to be auto-injected
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
@ -86,12 +86,12 @@ jobs:
|
|||||||
displayName: NuGet install PGDK
|
displayName: NuGet install PGDK
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet install GDKX
|
displayName: NuGet install GDKX
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: 'CMake (MSVC): Config x64 (Xbox Series X|S)'
|
displayName: 'CMake (MSVC): Config x64 (Xbox Series X|S)'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -60,7 +60,7 @@ variables:
|
|||||||
EXTRACTED_FOLDER: $(ExtractedFolder)
|
EXTRACTED_FOLDER: $(ExtractedFolder)
|
||||||
GDK_EDITION: $(GDKEditionNumber)
|
GDK_EDITION: $(GDKEditionNumber)
|
||||||
URL_FEED: $(ADOFeedURL)
|
URL_FEED: $(ADOFeedURL)
|
||||||
GameDKLatest: '$(ExtractedFolder)\GDK\Microsoft.gdk.xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\'
|
GameDKLatest: '$(ExtractedFolder)\Microsoft.gdk.xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\'
|
||||||
skipNugetSecurityAnalysis: true # We explicitly call this task so we don't need it to be auto-injected
|
skipNugetSecurityAnalysis: true # We explicitly call this task so we don't need it to be auto-injected
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
@ -104,12 +104,12 @@ jobs:
|
|||||||
displayName: NuGet install PGDK
|
displayName: NuGet install PGDK
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet install GDKX
|
displayName: NuGet install GDKX
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: 'CMake (MSVC): Config x64 (Xbox Series X|S)'
|
displayName: 'CMake (MSVC): Config x64 (Xbox Series X|S)'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -88,12 +88,12 @@ jobs:
|
|||||||
displayName: NuGet install PGDK
|
displayName: NuGet install PGDK
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet install GDKX
|
displayName: NuGet install GDKX
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Set up Directory.Build.props
|
displayName: Set up Directory.Build.props
|
||||||
inputs:
|
inputs:
|
||||||
@ -240,12 +240,12 @@ jobs:
|
|||||||
displayName: NuGet install PGDK
|
displayName: NuGet install PGDK
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet install GDKX
|
displayName: NuGet install GDKX
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: Setup BWOI for GDK command-line
|
displayName: Setup BWOI for GDK command-line
|
||||||
inputs:
|
inputs:
|
||||||
@ -257,7 +257,7 @@ jobs:
|
|||||||
echo ##vso[task.prependpath]%WindowsSdkBinPath%x64
|
echo ##vso[task.prependpath]%WindowsSdkBinPath%x64
|
||||||
echo ##vso[task.prependpath]%WindowsSdkVerBinPath%x64
|
echo ##vso[task.prependpath]%WindowsSdkVerBinPath%x64
|
||||||
echo ##vso[task.prependpath]%VCToolsInstallDir%bin\HostX64\x64
|
echo ##vso[task.prependpath]%VCToolsInstallDir%bin\HostX64\x64
|
||||||
call $(Build.SourcesDirectory)\build\SetupBWOI.cmd $(EXTRACTED_FOLDER)\GDK $(GDK_EDITION) Scarlett
|
call $(Build.SourcesDirectory)\build\SetupBWOI.cmd $(EXTRACTED_FOLDER) $(GDK_EDITION) Scarlett
|
||||||
echo ##vso[task.setvariable variable=GameDKLatest;]%GameDKLatest%
|
echo ##vso[task.setvariable variable=GameDKLatest;]%GameDKLatest%
|
||||||
echo ##vso[task.setvariable variable=GRDKLatest;]%GRDKLatest%
|
echo ##vso[task.setvariable variable=GRDKLatest;]%GRDKLatest%
|
||||||
echo ##vso[task.setvariable variable=GXDKLatest;]%GXDKLatest%
|
echo ##vso[task.setvariable variable=GXDKLatest;]%GXDKLatest%
|
||||||
@ -346,12 +346,12 @@ jobs:
|
|||||||
displayName: NuGet install PGDK
|
displayName: NuGet install PGDK
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet install GDKX
|
displayName: NuGet install GDKX
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: Setup BWOI for GDK command-line
|
displayName: Setup BWOI for GDK command-line
|
||||||
inputs:
|
inputs:
|
||||||
@ -363,7 +363,7 @@ jobs:
|
|||||||
echo ##vso[task.prependpath]%WindowsSdkBinPath%x64
|
echo ##vso[task.prependpath]%WindowsSdkBinPath%x64
|
||||||
echo ##vso[task.prependpath]%WindowsSdkVerBinPath%x64
|
echo ##vso[task.prependpath]%WindowsSdkVerBinPath%x64
|
||||||
echo ##vso[task.prependpath]%VCToolsInstallDir%bin\HostX64\x64
|
echo ##vso[task.prependpath]%VCToolsInstallDir%bin\HostX64\x64
|
||||||
call $(Build.SourcesDirectory)\build\SetupBWOI.cmd $(EXTRACTED_FOLDER)\GDK $(GDK_EDITION) XboxOne
|
call $(Build.SourcesDirectory)\build\SetupBWOI.cmd $(EXTRACTED_FOLDER) $(GDK_EDITION) XboxOne
|
||||||
echo ##vso[task.setvariable variable=GameDKLatest;]%GameDKLatest%
|
echo ##vso[task.setvariable variable=GameDKLatest;]%GameDKLatest%
|
||||||
echo ##vso[task.setvariable variable=GRDKLatest;]%GRDKLatest%
|
echo ##vso[task.setvariable variable=GRDKLatest;]%GRDKLatest%
|
||||||
echo ##vso[task.setvariable variable=GXDKLatest;]%GXDKLatest%
|
echo ##vso[task.setvariable variable=GXDKLatest;]%GXDKLatest%
|
||||||
|
@ -108,12 +108,12 @@ jobs:
|
|||||||
displayName: NuGet install PGDK
|
displayName: NuGet install PGDK
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet install GDKX
|
displayName: NuGet install GDKX
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\GDK
|
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Set up Directory.Build.props
|
displayName: Set up Directory.Build.props
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -74,17 +74,17 @@ jobs:
|
|||||||
displayName: NuGet Install WSDK x64
|
displayName: NuGet Install WSDK x64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK x86
|
displayName: NuGet Install WSDK x86
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK arm64
|
displayName: NuGet Install WSDK arm64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install -prerelease Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Set up Directory.Build.props
|
displayName: Set up Directory.Build.props
|
||||||
inputs:
|
inputs:
|
||||||
@ -200,17 +200,17 @@ jobs:
|
|||||||
displayName: NuGet Install WSDK x64
|
displayName: NuGet Install WSDK x64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK x86
|
displayName: NuGet Install WSDK x86
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install -prerelease Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK arm64
|
displayName: NuGet Install WSDK arm64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install -prerelease Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install -prerelease Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Set up Directory.Build.props
|
displayName: Set up Directory.Build.props
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -74,17 +74,17 @@ jobs:
|
|||||||
displayName: NuGet Install WSDK x64
|
displayName: NuGet Install WSDK x64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK x86
|
displayName: NuGet Install WSDK x86
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK arm64
|
displayName: NuGet Install WSDK arm64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Set up Directory.Build.props
|
displayName: Set up Directory.Build.props
|
||||||
inputs:
|
inputs:
|
||||||
@ -200,17 +200,17 @@ jobs:
|
|||||||
displayName: NuGet Install WSDK x64
|
displayName: NuGet Install WSDK x64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install Microsoft.Windows.SDK.CPP.x64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK x86
|
displayName: NuGet Install WSDK x86
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install Microsoft.Windows.SDK.CPP.x86 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: NuGet Install WSDK arm64
|
displayName: NuGet Install WSDK arm64
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: install Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)\SDK
|
arguments: install Microsoft.Windows.SDK.CPP.arm64 -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: Set up Directory.Build.props
|
displayName: Set up Directory.Build.props
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -18,40 +18,40 @@
|
|||||||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(GDKEditionNumber)' < '220300'">
|
<PropertyGroup Condition="'$(GDKEditionNumber)' != '' AND '$(GDKEditionNumber)' < '220300'">
|
||||||
<_PCNuGetPackage>Microsoft.PGDK</_PCNuGetPackage>
|
<_PCNuGetPackage>Microsoft.PGDK</_PCNuGetPackage>
|
||||||
<_XboxNuGetPackage>Microsoft.GDK</_XboxNuGetPackage>
|
<_XboxNuGetPackage>Microsoft.GDK</_XboxNuGetPackage>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(GDKEditionNumber)' >= '220300'">
|
<PropertyGroup Condition="'$(GDKEditionNumber)' != '' AND '$(GDKEditionNumber)' >= '220300'">
|
||||||
<_PCNuGetPackage>Microsoft.GDK.PC</_PCNuGetPackage>
|
<_PCNuGetPackage>Microsoft.GDK.PC</_PCNuGetPackage>
|
||||||
<_XboxNuGetPackage>Microsoft.GDK.Xbox</_XboxNuGetPackage>
|
<_XboxNuGetPackage>Microsoft.GDK.Xbox</_XboxNuGetPackage>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(GDKEditionNumber)' < '241000'">
|
<PropertyGroup Condition="'$(GDKEditionNumber)' != '' AND '$(GDKEditionNumber)' < '241000'">
|
||||||
<_PCNuGetPackage>$(_PCNuGetPackage).$(GDKEditionNumber)</_PCNuGetPackage>
|
<_PCNuGetPackage>$(_PCNuGetPackage).$(GDKEditionNumber)</_PCNuGetPackage>
|
||||||
<_XboxNuGetPackage>$(_XboxNuGetPackage).$(GDKEditionNumber)</_XboxNuGetPackage>
|
<_XboxNuGetPackage>$(_XboxNuGetPackage).$(GDKEditionNumber)</_XboxNuGetPackage>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Windows 10 SDK NuGet -->
|
<!-- Windows SDK NuGet -->
|
||||||
<Import Condition="'$(WSDKEnableBWOI)' == 'true'"
|
<Import Condition="'$(WSDKEnableBWOI)' == 'true'"
|
||||||
Project="$(ExtractedFolder)SDK\Microsoft.Windows.SDK.cpp\build\Microsoft.Windows.SDK.cpp.props" />
|
Project="$(ExtractedFolder)Microsoft.Windows.SDK.cpp\build\Microsoft.Windows.SDK.cpp.props" />
|
||||||
|
|
||||||
<Import Condition="'$(WSDKEnableBWOI)' == 'true' and $(Platform.Contains('x64'))"
|
<Import Condition="'$(WSDKEnableBWOI)' == 'true' and $(Platform.Contains('x64'))"
|
||||||
Project="$(ExtractedFolder)SDK\Microsoft.Windows.SDK.cpp.x64\build\native\Microsoft.Windows.SDK.cpp.x64.props" />
|
Project="$(ExtractedFolder)Microsoft.Windows.SDK.cpp.x64\build\native\Microsoft.Windows.SDK.cpp.x64.props" />
|
||||||
|
|
||||||
<Import Condition="'$(WSDKEnableBWOI)' == 'true' and '$(Platform)' == 'Win32'"
|
<Import Condition="'$(WSDKEnableBWOI)' == 'true' and '$(Platform)' == 'Win32'"
|
||||||
Project="$(ExtractedFolder)SDK\Microsoft.Windows.SDK.cpp.x86\build\native\Microsoft.Windows.SDK.cpp.x86.props" />
|
Project="$(ExtractedFolder)Microsoft.Windows.SDK.cpp.x86\build\native\Microsoft.Windows.SDK.cpp.x86.props" />
|
||||||
|
|
||||||
<Import Condition="'$(WSDKEnableBWOI)' == 'true' and '$(Platform)' == 'ARM64'"
|
<Import Condition="'$(WSDKEnableBWOI)' == 'true' and '$(Platform)' == 'ARM64'"
|
||||||
Project="$(ExtractedFolder)SDK\Microsoft.Windows.SDK.cpp.arm64\build\native\Microsoft.Windows.SDK.cpp.arm64.props" />
|
Project="$(ExtractedFolder)Microsoft.Windows.SDK.cpp.arm64\build\native\Microsoft.Windows.SDK.cpp.arm64.props" />
|
||||||
|
|
||||||
<!-- Microsoft GDK NuGet -->
|
<!-- Microsoft GDK NuGet -->
|
||||||
<Import Condition="'$(GDKEnableBWOI)' == 'true' and $(Platform.Contains('x64')) and Exists('$(ExtractedFolder)GDK\$(_PCNuGetPackage)\build\$(_PCNuGetPackage).props')"
|
<Import Condition="'$(GDKEnableBWOI)' == 'true' and $(Platform.Contains('x64')) and Exists('$(ExtractedFolder)$(_PCNuGetPackage)\build\$(_PCNuGetPackage).props')"
|
||||||
Project="$(ExtractedFolder)GDK\$(_PCNuGetPackage)\build\$(_PCNuGetPackage).props" />
|
Project="$(ExtractedFolder)$(_PCNuGetPackage)\build\$(_PCNuGetPackage).props" />
|
||||||
|
|
||||||
<Import Condition="'$(GDKEnableBWOI)' == 'true' and $(Platform.Contains('x64')) and Exists('$(ExtractedFolder)GDK\$(_XboxNuGetPackage)\build\$(_XboxNuGetPackage).props')"
|
<Import Condition="'$(GDKEnableBWOI)' == 'true' and $(Platform.Contains('x64')) and Exists('$(ExtractedFolder)$(_XboxNuGetPackage)\build\$(_XboxNuGetPackage).props')"
|
||||||
Project="$(ExtractedFolder)GDK\$(_XboxNuGetPackage)\build\$(_XboxNuGetPackage).props" />
|
Project="$(ExtractedFolder)$(_XboxNuGetPackage)\build\$(_XboxNuGetPackage).props" />
|
||||||
|
|
||||||
<!-- Remove copy of real gameos.xvd since this is a build validation only pipeline -->
|
<!-- Remove copy of real gameos.xvd since this is a build validation only pipeline -->
|
||||||
<PropertyGroup Condition="'$(Platform)' == 'Gaming.Xbox.XboxOne.x64' or '$(Platform)' == 'Gaming.Xbox.Scarlett.x64'">
|
<PropertyGroup Condition="'$(Platform)' == 'Gaming.Xbox.XboxOne.x64' or '$(Platform)' == 'Gaming.Xbox.Scarlett.x64'">
|
||||||
|
@ -11,6 +11,21 @@
|
|||||||
<ExtractedFolder Condition="!HasTrailingSlash('$(ExtractedFolder)')">$(ExtractedFolder)\</ExtractedFolder>
|
<ExtractedFolder Condition="!HasTrailingSlash('$(ExtractedFolder)')">$(ExtractedFolder)\</ExtractedFolder>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(GDKEditionNumber)' < '220300'">
|
||||||
|
<_PCNuGetPackage>Microsoft.PGDK</_PCNuGetPackage>
|
||||||
|
<_XboxNuGetPackage>Microsoft.GDK</_XboxNuGetPackage>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(GDKEditionNumber)' >= '220300'">
|
||||||
|
<_PCNuGetPackage>Microsoft.GDK.PC</_PCNuGetPackage>
|
||||||
|
<_XboxNuGetPackage>Microsoft.GDK.Xbox</_XboxNuGetPackage>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(GDKEditionNumber)' < '241000'">
|
||||||
|
<_PCNuGetPackage>$(_PCNuGetPackage).$(GDKEditionNumber)</_PCNuGetPackage>
|
||||||
|
<_XboxNuGetPackage>$(_XboxNuGetPackage).$(GDKEditionNumber)</_XboxNuGetPackage>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
A list of VCTargets folders that we expect to exist after copying the BWOI VS files
|
A list of VCTargets folders that we expect to exist after copying the BWOI VS files
|
||||||
If any of these folders is not present then we assume that the VCTargets has not been setup
|
If any of these folders is not present then we assume that the VCTargets has not been setup
|
||||||
@ -80,10 +95,10 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
|
|||||||
Condition="'@(_MissingBWOIVCFolders)' != ''">
|
Condition="'@(_MissingBWOIVCFolders)' != ''">
|
||||||
<Error Condition="'$(GDKEditionNumber)'==''"
|
<Error Condition="'$(GDKEditionNumber)'==''"
|
||||||
Text="GDKEditionNumber property is required" />
|
Text="GDKEditionNumber property is required" />
|
||||||
<Error Condition="!Exists('$(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber)')"
|
<Error Condition="!Exists('$(ExtractedFolder)$(_PCNuGetPackage)')"
|
||||||
Text="NuGet package Microsoft.GDK.PC.$(GDKEditionNumber) not found in $(ExtractedFolder)GDK" />
|
Text="NuGet package $(_PCNuGetPackage) not found in $(ExtractedFolder)" />
|
||||||
<Error Condition="!Exists('$(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber)')"
|
<Error Condition="!Exists('$(ExtractedFolder)$(_XboxNuGetPackage)')"
|
||||||
Text="NuGet package Microsoft.GDK.Xbox.$(GDKEditionNumber) not found in $(ExtractedFolder)GDK" />
|
Text="NuGet package $(_XboxNuGetPackage) not found in $(ExtractedFolder)" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_VSFolder Condition="'$(VisualStudioVersion)' == '17.0'">VS2022</_VSFolder>
|
<_VSFolder Condition="'$(VisualStudioVersion)' == '17.0'">VS2022</_VSFolder>
|
||||||
@ -99,8 +114,8 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(GDKEditionNumber)' < '241000'">
|
<ItemGroup Condition="'$(GDKEditionNumber)' < '241000'">
|
||||||
<GDKVCTargetsFilesV150 Include="$(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber)\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
|
<GDKVCTargetsFilesV150 Include="$(ExtractedFolder)$(_PCNuGetPackage)\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
|
||||||
<GDKVCTargetsFilesV150 Include="$(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
|
<GDKVCTargetsFilesV150 Include="$(ExtractedFolder)$(_XboxNuGetPackage)\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v150\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Copy Condition="'$(GDKEditionNumber)' < '241000'" SkipUnchangedFiles="true" SourceFiles="@(SourceVCTargetsFilesV150)" DestinationFolder="$(ExtractedFolder)VCTargets150\%(RecursiveDir)/" />
|
<Copy Condition="'$(GDKEditionNumber)' < '241000'" SkipUnchangedFiles="true" SourceFiles="@(SourceVCTargetsFilesV150)" DestinationFolder="$(ExtractedFolder)VCTargets150\%(RecursiveDir)/" />
|
||||||
@ -112,8 +127,8 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<GDKVCTargetsFilesV160 Include="$(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber)\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
|
<GDKVCTargetsFilesV160 Include="$(ExtractedFolder)$(_PCNuGetPackage)\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
|
||||||
<GDKVCTargetsFilesV160 Include="$(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
|
<GDKVCTargetsFilesV160 Include="$(ExtractedFolder)$(_XboxNuGetPackage)\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v160\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Copy SkipUnchangedFiles="true" SourceFiles="@(SourceVCTargetsFilesV160)" DestinationFolder="$(ExtractedFolder)VCTargets160\%(RecursiveDir)/" />
|
<Copy SkipUnchangedFiles="true" SourceFiles="@(SourceVCTargetsFilesV160)" DestinationFolder="$(ExtractedFolder)VCTargets160\%(RecursiveDir)/" />
|
||||||
@ -125,8 +140,8 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(VisualStudioVersion)' == '17.0'">
|
<ItemGroup Condition="'$(VisualStudioVersion)' == '17.0'">
|
||||||
<GDKVCTargetsFilesV170 Include="$(ExtractedFolder)GDK\Microsoft.GDK.PC.$(GDKEditionNumber)\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
|
<GDKVCTargetsFilesV170 Include="$(ExtractedFolder)$(_PCNuGetPackage)\native\$(GDKEditionNumber)\GRDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
|
||||||
<GDKVCTargetsFilesV170 Include="$(ExtractedFolder)GDK\Microsoft.GDK.Xbox.$(GDKEditionNumber)\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
|
<GDKVCTargetsFilesV170 Include="$(ExtractedFolder)$(_XboxNuGetPackage)\native\$(GDKEditionNumber)\GXDK\$(_VSFolder)\flatDeployment\MSBuild\Microsoft\VC\v170\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Copy SkipUnchangedFiles="true" SourceFiles="@(SourceVCTargetsFilesV170)" DestinationFolder="$(ExtractedFolder)VCTargets170\%(RecursiveDir)/" />
|
<Copy SkipUnchangedFiles="true" SourceFiles="@(SourceVCTargetsFilesV170)" DestinationFolder="$(ExtractedFolder)VCTargets170\%(RecursiveDir)/" />
|
||||||
|
Loading…
Reference in New Issue
Block a user