-
Notifications
You must be signed in to change notification settings - Fork 488
/
writer.build.settings
147 lines (124 loc) · 8.53 KB
/
writer.build.settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Project>Writer</Project>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<SrcManagedRoot>$(RepoRoot)\src\managed</SrcManagedRoot>
<SolutionDir Condition="'$(SolutionDir)'==''">$(SrcManagedRoot)</SolutionDir>
</PropertyGroup>
<!-- ********************************************************************************************* -->
<!-- * Build Environment settings -->
<!-- ********************************************************************************************* -->
<PropertyGroup>
<BuildPathEnvironment>$(BUILD_PATH)</BuildPathEnvironment>
<!-- ManagedToolPath only needs to really have the installed 2.0 path for parity with BUILD.EXE -->
<ManagedToolPathEnvironment>$(URTTARGET_2_0)</ManagedToolPathEnvironment>
<!-- This is the Path during the build, that will be set by SetEnvironment,
and is different from the path in the command window -->
<Path>$(ManagedToolPathEnvironment);$(BuildPathEnvironment);</Path>
<!-- Prevent accidental pickup of local-machine scripts -->
<MSBuildExtensionsPath>$(MSBuildToolsPath)\MsBuildExtensions</MSBuildExtensionsPath>
<MSBuildExtensionsPath32>$(MsBuildExtensionsPath)</MSBuildExtensionsPath32>
<DirectorySuffix Condition="'$(BUILD_ALT_DIR)'!=''">$(BUILD_ALT_DIR)</DirectorySuffix>
</PropertyGroup>
<!-- ********************************************************************************************* -->
<!-- *** Configurations, Platforms, Architectures Defaults -->
<!-- ********************************************************************************************* -->
<PropertyGroup>
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
<!-- Processor Architecture -->
<!-- Currently building from anything other than i386 window isn't supported -->
<ProcessorArchitecture Condition="'$(ProcessorArchitecture)' == ''">$(PROCESSOR_ARCHITECTURE)</ProcessorArchitecture>
<!-- Build Architectures -->
<DefaultBuildArchitecture Condition="'$(_defaultBuildArch)'!=''">$(_defaultBuildArch)</DefaultBuildArchitecture>
<DefaultBuildArchitecture Condition="'$(DefaultBuildArchitecture)'==''">i386</DefaultBuildArchitecture>
<!-- TODO: We need to make sure we are setting _BUILDARCH correctly based on ProcessorArchitecture -->
<!-- Do not use $(386) - msbuild ignores properties with periods or starting with numbers so it will never be set -->
<BuildArchitecture Condition="'$(ia64)' == '1'">ia64</BuildArchitecture>
<BuildArchitecture Condition="'$(amd64)' == '1'">amd64</BuildArchitecture>
<BuildArchitecture Condition="'$(_BuildArch)' == 'x86'">i386</BuildArchitecture>
<BuildArchitecture Condition="'$(arm)' == '1'">arm</BuildArchitecture>
<BuildArchitecture Condition="'$(BuildArchitecture)' == ''">$(DefaultBuildArchitecture)</BuildArchitecture>
<BuildArchitecture Condition="'$(BuildArchitecture)' == 'x86'">i386</BuildArchitecture>
</PropertyGroup>
<!-- ********************************************************************************************* -->
<!-- *** Settings to allow Platform specific assemblies -->
<!-- ********************************************************************************************* -->
<PropertyGroup Condition="'$(PlatformSpecificBuild)' == 'true'">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget Condition="'$(BuildArchitecture)' == 'ia64'">Itanium</PlatformTarget>
<PlatformTarget Condition="'$(BuildArchitecture)' == 'amd64'">x64</PlatformTarget>
<PlatformTarget Condition="'$(BuildArchitecture)' == 'i386'">x86</PlatformTarget>
</PropertyGroup>
<!-- ********************************************************************************************* -->
<!-- *** Compile defaults -->
<!-- ********************************************************************************************* -->
<PropertyGroup>
<OutputType Condition="$(OutputType)==''">Library</OutputType>
<NoLogo Condition="'$(NoLogo)' == ''">true</NoLogo>
<CheckForOverflowUnderflow Condition="'$(CheckForOverflowUnderflow)' == ''">false</CheckForOverflowUnderflow>
<GenerateFullPaths Condition="'$(GenerateFullPaths)' == ''">true</GenerateFullPaths>
<TreatWarningsAsErrors Condition="'$(TreatWarningsAsErrors)' == ''">true</TreatWarningsAsErrors>
<WarningLevel Condition="'$(WarningLevel)' == ''">4</WarningLevel> <!-- 0-4 -->
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<ErrorReport>prompt</ErrorReport>
<SignAssembly Condition="'$(SignAssembly)' == ''">false</SignAssembly>
<DefineConstants Condition="'$(SignAssembly)' == 'true'">$(DefineConstants);SIGN;</DefineConstants>
<DelaySign Condition="'$(DelaySign)' == ''">false</DelaySign>
<AssemblyOriginatorKeyFile Condition="'$(AssemblyOriginatorKeyFile)' == ''">$(RepoRoot)\key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- ********************************************************************************************* -->
<!-- *** Assembly Attributes generation Defaults -->
<!-- ********************************************************************************************* -->
<PropertyGroup>
<GenerateAssemblyAttribute Condition="'$(GenerateAssemblyAttribute)' == ''">true</GenerateAssemblyAttribute>
<AssemblyAttributeComVisible Condition="'$(AssemblyAttributeComVisible)' == ''">false</AssemblyAttributeComVisible>
<AssemblyAttributeClsCompliant Condition="'$(AssemblyAttributeClsCompliant)' == ''">false</AssemblyAttributeClsCompliant>
</PropertyGroup>
<!-- ********************************************************************************************* -->
<!-- *** Other Defaults -->
<!-- ********************************************************************************************* -->
<PropertyGroup>
<!-- The default target that should be built when P2P references are followed -->
<ProjectReferenceBuildTargets>Build</ProjectReferenceBuildTargets>
<UseHostCompilerIfAvailable Condition=" '$(UseHostCompilerIfAvailable)' == ''">false</UseHostCompilerIfAvailable>
<OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles>
</PropertyGroup>
<PropertyGroup>
<!--
* This only catches settings before our import and not settings made in the project files themselves.
* We want OutDir==OutputPath, but setting this in the targets file is difficult because of include
* order and missed dependencies. Instead, we will error out during execution if OutDir!=OutputPath
-->
<OutputPath Condition="'$(OutputPath)' != '$(OutDir)' AND '$(OutDir)' != ''">$(OutDir)</OutputPath>
<OutputPath Condition="'$(OutputPath)' == ''">$(SolutionDir)\bin\$(Configuration)\$(BuildArchitecture)</OutputPath>
<OutputPath Condition="'$(OutputPath)' != '' and !HasTrailingSlash('$(OutputPath)')">$(OutputPath)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<IntermediateOutputRoot>$(SrcManagedRoot)\obj\</IntermediateOutputRoot>
<IntermediateOutputPath>$(IntermediateOutputRoot)\$(Configuration)\$(MSBuildProjectName)\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup>
<ProductName>Open Live Writer</ProductName>
<Title>Open Live Writer</Title>
<CopyrightText>Copyright (c) Open Live Writer. All rights reserved.</CopyrightText>
<OutputPath>$(OutputPath)$(Project)\</OutputPath>
<OutDir>$(OutputPath)</OutDir>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup>
<AssemblyVersionName>corext</AssemblyVersionName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>pdbonly</DebugType>
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
<Optimize>true</Optimize>
</PropertyGroup>
</Project>