diff options
author | Rob Mensching <rob@firegiant.com> | 2018-10-02 15:24:48 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-10-03 23:48:24 -0700 |
commit | 49b1c073fd7aac252b636a813611930fc142cdc5 (patch) | |
tree | 48d4561d2e01a32a89555c96658a6f9de5e4cb1a | |
parent | 128c46049fb73f18edd248d2a6e80a933cbe2d80 (diff) | |
download | wix-49b1c073fd7aac252b636a813611930fc142cdc5.tar.gz wix-49b1c073fd7aac252b636a813611930fc142cdc5.tar.bz2 wix-49b1c073fd7aac252b636a813611930fc142cdc5.zip |
Standardize on props with NCrunch support
-rw-r--r-- | src/Cpp.Build.props | 4 | ||||
-rw-r--r-- | src/Directory.Build.props | 14 | ||||
-rw-r--r-- | src/NativeMultiTargeting.Build.props | 2 | ||||
-rw-r--r-- | src/dutil/dutil.vcxproj | 2 |
4 files changed, 15 insertions, 7 deletions
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/dutil/dutil.vcxproj b/src/dutil/dutil.vcxproj index 46002b82..95b90665 100644 --- a/src/dutil/dutil.vcxproj +++ b/src/dutil/dutil.vcxproj | |||
@@ -288,7 +288,7 @@ | |||
288 | 288 | ||
289 | <Target Name="PackNativeNuget" | 289 | <Target Name="PackNativeNuget" |
290 | DependsOnTargets="GetBuildVersion"> | 290 | DependsOnTargets="GetBuildVersion"> |
291 | <Exec Command='nuget pack dutil.nuspec -OutputDirectory $(BaseOutputPath) -Properties Configuration=$(Configuration);Id=WixToolset.DUtil;Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' /> | 291 | <Exec Command='nuget pack dutil.nuspec -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Configuration=$(Configuration);Id=WixToolset.DUtil;Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' /> |
292 | </Target> | 292 | </Target> |
293 | 293 | ||
294 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 294 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |