diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-26 11:31:05 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 11:14:01 -0700 |
| commit | df016066100df955d5ff98811e113fb2b1bd4b8a (patch) | |
| tree | a27b35a3651ca7b1d8c4bb7c7483ec2f92583e08 /src/ext/DirectX/ca | |
| parent | dc6022da6cdbb9d7ca54c4a36485ceead07feaaf (diff) | |
| download | wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.gz wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.bz2 wix-df016066100df955d5ff98811e113fb2b1bd4b8a.zip | |
Implement integrated build process
Diffstat (limited to 'src/ext/DirectX/ca')
| -rw-r--r-- | src/ext/DirectX/ca/directxca.vcxproj | 31 | ||||
| -rw-r--r-- | src/ext/DirectX/ca/packages.config | 2 |
2 files changed, 15 insertions, 18 deletions
diff --git a/src/ext/DirectX/ca/directxca.vcxproj b/src/ext/DirectX/ca/directxca.vcxproj index e772009a..85ce0828 100644 --- a/src/ext/DirectX/ca/directxca.vcxproj +++ b/src/ext/DirectX/ca/directxca.vcxproj | |||
| @@ -1,9 +1,7 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 3 | |||
| 3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 4 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props')" /> | ||
| 5 | <Import Project="..\..\packages\WixToolset.WcaUtil.4.0.16\build\WixToolset.WcaUtil.props" Condition="Exists('..\..\packages\WixToolset.WcaUtil.4.0.16\build\WixToolset.WcaUtil.props')" /> | ||
| 6 | |||
| 7 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
| 8 | <ProjectConfiguration Include="Debug|Win32"> | 6 | <ProjectConfiguration Include="Debug|Win32"> |
| 9 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
| @@ -30,7 +28,7 @@ | |||
| 30 | <Platform>ARM64</Platform> | 28 | <Platform>ARM64</Platform> |
| 31 | </ProjectConfiguration> | 29 | </ProjectConfiguration> |
| 32 | </ItemGroup> | 30 | </ItemGroup> |
| 33 | 31 | ||
| 34 | <PropertyGroup Label="Globals"> | 32 | <PropertyGroup Label="Globals"> |
| 35 | <ProjectGuid>{76542B28-0FFD-47D3-AD6A-D0F20FA875AC}</ProjectGuid> | 33 | <ProjectGuid>{76542B28-0FFD-47D3-AD6A-D0F20FA875AC}</ProjectGuid> |
| 36 | <ConfigurationType>DynamicLibrary</ConfigurationType> | 34 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
| @@ -40,14 +38,14 @@ | |||
| 40 | <ProjectModuleDefinitionFile>directx.def</ProjectModuleDefinitionFile> | 38 | <ProjectModuleDefinitionFile>directx.def</ProjectModuleDefinitionFile> |
| 41 | <Description>WiX Toolset DirectX CustomAction</Description> | 39 | <Description>WiX Toolset DirectX CustomAction</Description> |
| 42 | </PropertyGroup> | 40 | </PropertyGroup> |
| 43 | 41 | ||
| 44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 45 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 46 | 44 | ||
| 47 | <PropertyGroup> | 45 | <PropertyGroup> |
| 48 | <ProjectAdditionalLinkLibraries>d3d9.lib;msi.lib</ProjectAdditionalLinkLibraries> | 46 | <ProjectAdditionalLinkLibraries>d3d9.lib;msi.lib</ProjectAdditionalLinkLibraries> |
| 49 | </PropertyGroup> | 47 | </PropertyGroup> |
| 50 | 48 | ||
| 51 | <ItemGroup> | 49 | <ItemGroup> |
| 52 | <ClCompile Include="directx.cpp" /> | 50 | <ClCompile Include="directx.cpp" /> |
| 53 | <ClCompile Include="dllmain.cpp"> | 51 | <ClCompile Include="dllmain.cpp"> |
| @@ -57,14 +55,13 @@ | |||
| 57 | <None Include="directx.def" /> | 55 | <None Include="directx.def" /> |
| 58 | <None Include="packages.config" /> | 56 | <None Include="packages.config" /> |
| 59 | </ItemGroup> | 57 | </ItemGroup> |
| 60 | 58 | ||
| 59 | <ItemGroup> | ||
| 60 | <PackageReference Include="WixToolset.Dutil" /> | ||
| 61 | <PackageReference Include="WixToolset.WcaUtil" /> | ||
| 62 | <PackageReference Include="Microsoft.SourceLink.GitHub" /> | ||
| 63 | <PackageReference Include="GitInfo" /> | ||
| 64 | </ItemGroup> | ||
| 65 | |||
| 61 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 66 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 62 | 67 | </Project> | |
| 63 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
| 64 | <PropertyGroup> | ||
| 65 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
| 66 | </PropertyGroup> | ||
| 67 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.30\build\WixToolset.DUtil.props'))" /> | ||
| 68 | <Error Condition="!Exists('..\..\packages\WixToolset.WcaUtil.4.0.16\build\WixToolset.WcaUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.WcaUtil.4.0.16\build\WixToolset.WcaUtil.props'))" /> | ||
| 69 | </Target> | ||
| 70 | </Project> \ No newline at end of file | ||
diff --git a/src/ext/DirectX/ca/packages.config b/src/ext/DirectX/ca/packages.config index e3dc0e43..6e8da8cb 100644 --- a/src/ext/DirectX/ca/packages.config +++ b/src/ext/DirectX/ca/packages.config | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <packages> | 2 | <packages> |
| 3 | <package id="WixToolset.DUtil" version="4.0.30" targetFramework="native" /> | 3 | <package id="WixToolset.DUtil" version="4.0.0-preview.0-build.1" targetFramework="native" /> |
| 4 | <package id="WixToolset.WcaUtil" version="4.0.16" targetFramework="native" /> | 4 | <package id="WixToolset.WcaUtil" version="4.0.16" targetFramework="native" /> |
| 5 | </packages> \ No newline at end of file | 5 | </packages> \ No newline at end of file |
