aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.cmd2
-rw-r--r--src/Cpp.Build.props4
-rw-r--r--src/Directory.Build.props14
-rw-r--r--src/NativeMultiTargeting.Build.props2
-rw-r--r--src/wcautil/wcautil.vcxproj11
5 files changed, 25 insertions, 8 deletions
diff --git a/appveyor.cmd b/appveyor.cmd
index 63302e89..74f0ec2c 100644
--- a/appveyor.cmd
+++ b/appveyor.cmd
@@ -1,6 +1,8 @@
1@setlocal 1@setlocal
2@pushd %~dp0 2@pushd %~dp0
3 3
4nuget restore
5
4msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140_xp 6msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140_xp
5msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v140_xp 7msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v140_xp
6 8
diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props
index 1e4d4cbc..296b36ca 100644
--- a/src/Cpp.Build.props
+++ b/src/Cpp.Build.props
@@ -3,8 +3,8 @@
3 3
4<Project> 4<Project>
5 <PropertyGroup> 5 <PropertyGroup>
6 <BaseOutputPath>$(OutputPath)</BaseOutputPath> 6 <Platform Condition=" '$(Platform)' == '' OR '$(Platform)' == 'AnyCPU' ">Win32</Platform>
7 <IntDir>$(BaseIntermediateOutputPath)$(Platform)\</IntDir> 7 <IntDir>$(BaseIntermediateOutputPath)$(Configuration)\$(Platform)\</IntDir>
8 <OutDir>$(OutputPath)$(Platform)\</OutDir> 8 <OutDir>$(OutputPath)$(Platform)\</OutDir>
9 </PropertyGroup> 9 </PropertyGroup>
10 10
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 48ba462d..9eacf3f5 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,15 +1,23 @@
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<!--
4 Do NOT modify this file. Update the canonical version in Home\src\Directory.Build.props
5 then update all of the repos.
6-->
4<Project> 7<Project>
5 <PropertyGroup> 8 <PropertyGroup>
6 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 9 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7 <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\build\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath> 10 <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink>
8 <OutputPath>$(MSBuildThisFileDirectory)..\build\$(Configuration)\</OutputPath> 11
12 <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName>
13 <BaseOutputPath>$(MSBuildThisFileDirectory)..\build\</BaseOutputPath>
14 <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(ProjectName)\</BaseIntermediateOutputPath>
15 <OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath>
9 16
10 <Authors>WiX Toolset Team</Authors> 17 <Authors>WiX Toolset Team</Authors>
11 <Company>WiX Toolset</Company> 18 <Company>WiX Toolset</Company>
12 <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright> 19 <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright>
20 <Product>WiX Toolset</Product>
13 </PropertyGroup> 21 </PropertyGroup>
14 22
15 <PropertyGroup> 23 <PropertyGroup>
diff --git a/src/NativeMultiTargeting.Build.props b/src/NativeMultiTargeting.Build.props
index 98b1933e..1ff46559 100644
--- a/src/NativeMultiTargeting.Build.props
+++ b/src/NativeMultiTargeting.Build.props
@@ -4,7 +4,7 @@
4<Project> 4<Project>
5 <!-- Overrides the standard Cpp.Build.props to include the PlatformToolset in the output path. --> 5 <!-- Overrides the standard Cpp.Build.props to include the PlatformToolset in the output path. -->
6 <PropertyGroup> 6 <PropertyGroup>
7 <IntDir>$(BaseIntermediateOutputPath)$(PlatformToolset)\$(PlatformTarget)\</IntDir> 7 <IntDir>$(BaseIntermediateOutputPath)$(Configuration)\$(PlatformToolset)\$(PlatformTarget)\</IntDir>
8 <OutDir>$(OutputPath)$(PlatformToolset)\$(PlatformTarget)\</OutDir> 8 <OutDir>$(OutputPath)$(PlatformToolset)\$(PlatformTarget)\</OutDir>
9 </PropertyGroup> 9 </PropertyGroup>
10</Project> 10</Project>
diff --git a/src/wcautil/wcautil.vcxproj b/src/wcautil/wcautil.vcxproj
index 61bd9437..d9356a8e 100644
--- a/src/wcautil/wcautil.vcxproj
+++ b/src/wcautil/wcautil.vcxproj
@@ -29,12 +29,14 @@
29 <CharacterSet>MultiByte</CharacterSet> 29 <CharacterSet>MultiByte</CharacterSet>
30 <Description>WiX Toolset Custom Action native utility library</Description> 30 <Description>WiX Toolset Custom Action native utility library</Description>
31 </PropertyGroup> 31 </PropertyGroup>
32
32 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 33 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
33 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 34 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34 <ImportGroup Label="Shared"> 35 <ImportGroup Label="Shared">
35 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.0.37-beta\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.0.37-beta\build\Nerdbank.GitVersioning.targets')" /> 36 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.0.37-beta\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.0.37-beta\build\Nerdbank.GitVersioning.targets')" />
36 </ImportGroup> 37 </ImportGroup>
37 <Import Project="..\NativeMultiTargeting.Build.props" /> 38 <Import Project="..\NativeMultiTargeting.Build.props" />
39
38 <ItemGroup> 40 <ItemGroup>
39 <ClCompile Include="exbinary.cpp" /> 41 <ClCompile Include="exbinary.cpp" />
40 <ClCompile Include="wcalog.cpp" /> 42 <ClCompile Include="wcalog.cpp" />
@@ -47,6 +49,7 @@
47 <ClCompile Include="wcawrap.cpp" /> 49 <ClCompile Include="wcawrap.cpp" />
48 <ClCompile Include="qtexec.cpp" /> 50 <ClCompile Include="qtexec.cpp" />
49 </ItemGroup> 51 </ItemGroup>
52
50 <ItemGroup Condition="'$(Platform)' == 'Win32'"> 53 <ItemGroup Condition="'$(Platform)' == 'Win32'">
51 <ClInclude Include="custommsierrors.h"> 54 <ClInclude Include="custommsierrors.h">
52 <GenerateWixInclude>caerr.wxi</GenerateWixInclude> 55 <GenerateWixInclude>caerr.wxi</GenerateWixInclude>
@@ -62,12 +65,16 @@
62 <ClInclude Include="inc\wcawow64.h" /> 65 <ClInclude Include="inc\wcawow64.h" />
63 <ClInclude Include="inc\wcawrapquery.h" /> 66 <ClInclude Include="inc\wcawrapquery.h" />
64 </ItemGroup> 67 </ItemGroup>
68
65 <ItemGroup> 69 <ItemGroup>
66 <None Include="packages.config" /> 70 <None Include="packages.config" />
67 </ItemGroup> 71 </ItemGroup>
68 <Target Name="PackNativeNuget" DependsOnTargets="GetBuildVersion"> 72
69 <Exec Command="nuget pack wcautil.nuspec -OutputDirectory $(BaseOutputPath) -Properties Configuration=$(Configuration);Id=WixToolset.WcaUtil;Version=&quot;$(BuildVersionSimple)&quot;;Authors=&quot;$(Authors)&quot;;Copyright=&quot;$(Copyright)&quot;;Description=&quot;$(Description)&quot;;Title=&quot;$(Title)&quot;" /> 73 <Target Name="PackNativeNuget"
74 DependsOnTargets="GetBuildVersion">
75 <Exec Command='nuget pack wcautil.nuspec -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Configuration=$(Configuration);Id=WixToolset.WcaUtil;Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' />
70 </Target> 76 </Target>
77
71 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 78 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
72 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 79 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
73 <PropertyGroup> 80 <PropertyGroup>