diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-15 15:46:44 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-16 11:01:46 -0700 |
commit | 533fb3c24290f5c9684a661e2576d857fbee9fb6 (patch) | |
tree | 2d8780846bd044f92ab481d6409c6865baf6bac0 /src/wixnative | |
parent | 8296f237c69743d3e6cbdc58fc07e8470562b92e (diff) | |
download | wix-533fb3c24290f5c9684a661e2576d857fbee9fb6.tar.gz wix-533fb3c24290f5c9684a661e2576d857fbee9fb6.tar.bz2 wix-533fb3c24290f5c9684a661e2576d857fbee9fb6.zip |
Modernize build system
Diffstat (limited to 'src/wixnative')
-rw-r--r-- | src/wixnative/wixnative.vcxproj | 49 |
1 files changed, 13 insertions, 36 deletions
diff --git a/src/wixnative/wixnative.vcxproj b/src/wixnative/wixnative.vcxproj index 681b2e1e..64c2e7d0 100644 --- a/src/wixnative/wixnative.vcxproj +++ b/src/wixnative/wixnative.vcxproj | |||
@@ -2,11 +2,6 @@ | |||
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 | ||
4 | <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"> |
5 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | ||
6 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
7 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
8 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props')" /> | ||
9 | |||
10 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
11 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
12 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -37,34 +32,23 @@ | |||
37 | <PropertyGroup Label="Globals"> | 32 | <PropertyGroup Label="Globals"> |
38 | <ProjectGuid>{8497EC72-B8D0-4272-A9D0-7E9D871CEFBF}</ProjectGuid> | 33 | <ProjectGuid>{8497EC72-B8D0-4272-A9D0-7E9D871CEFBF}</ProjectGuid> |
39 | <ConfigurationType>Application</ConfigurationType> | 34 | <ConfigurationType>Application</ConfigurationType> |
40 | <ProjectSubSystem>Console</ProjectSubSystem> | ||
41 | <TargetName>wixnative</TargetName> | ||
42 | <PlatformToolset>v142</PlatformToolset> | 35 | <PlatformToolset>v142</PlatformToolset> |
43 | <CharacterSet>Unicode</CharacterSet> | 36 | <CharacterSet>Unicode</CharacterSet> |
37 | <ProjectSubSystem>Console</ProjectSubSystem> | ||
38 | <TargetName>wixnative</TargetName> | ||
39 | <Description>WiX Native Processing</Description> | ||
40 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
44 | </PropertyGroup> | 41 | </PropertyGroup> |
45 | 42 | ||
46 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
47 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
48 | 45 | ||
49 | <ImportGroup Label="ExtensionSettings"> | ||
50 | </ImportGroup> | ||
51 | |||
52 | <ImportGroup Label="Shared"> | ||
53 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
54 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | ||
55 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
56 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
57 | </ImportGroup> | ||
58 | |||
59 | <PropertyGroup> | 46 | <PropertyGroup> |
60 | <ProjectAdditionalLinkLibraries>crypt32.lib;cabinet.lib;msi.lib</ProjectAdditionalLinkLibraries> | 47 | <ProjectAdditionalLinkLibraries>crypt32.lib;cabinet.lib;msi.lib</ProjectAdditionalLinkLibraries> |
61 | </PropertyGroup> | 48 | </PropertyGroup> |
62 | 49 | ||
63 | <ItemGroup> | 50 | <ItemGroup> |
64 | <ClCompile Include="wixnative.cpp"> | 51 | <ClCompile Include="wixnative.cpp" /> |
65 | <!-- turn off deprecation warning --> | ||
66 | <DisableSpecificWarnings>4996</DisableSpecificWarnings> | ||
67 | </ClCompile> | ||
68 | <ClCompile Include="precomp.cpp"> | 52 | <ClCompile Include="precomp.cpp"> |
69 | <PrecompiledHeader>Create</PrecompiledHeader> | 53 | <PrecompiledHeader>Create</PrecompiledHeader> |
70 | </ClCompile> | 54 | </ClCompile> |
@@ -79,21 +63,14 @@ | |||
79 | </ItemGroup> | 63 | </ItemGroup> |
80 | 64 | ||
81 | <ItemGroup> | 65 | <ItemGroup> |
82 | <None Include="packages.config" /> | 66 | <ContentWithTargetPath Include="$(Platform)\mergemod.dll" CopyToOutputDirectory="PreserveNewest" TargetPath="mergemod.dll" /> |
67 | </ItemGroup> | ||
68 | |||
69 | <ItemGroup> | ||
70 | <PackageReference Include="WixToolset.Dutil" Version="4.0.64" /> | ||
71 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" /> | ||
72 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" /> | ||
83 | </ItemGroup> | 73 | </ItemGroup> |
84 | 74 | ||
85 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 75 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
86 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 76 | </Project> |
87 | <PropertyGroup> | ||
88 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText> | ||
89 | </PropertyGroup> | ||
90 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
91 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props'))" /> | ||
92 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
93 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
94 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
95 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
96 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
97 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
98 | </Target> | ||
99 | </Project> \ No newline at end of file | ||