-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathcommon.props
119 lines (96 loc) · 6.78 KB
/
common.props
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
<Project>
<Import Project="versions.props" />
<!-- redefine.props helps to override properties when it used as a submodule etc. -->
<Import Project="..\redefine.props" Condition="Exists('..\redefine.props')" />
<Import Project="..\..\redefine.props" Condition="Exists('..\..\redefine.props')" />
<PropertyGroup>
<RootOutDir>bin\prj\</RootOutDir>
<RootObjDir>bin\obj\</RootObjDir>
<PathToUnmanagedEmitCalli>..\UnmanagedEmitCalli\src\</PathToUnmanagedEmitCalli>
<OsUnixLike>false</OsUnixLike>
<OsUnixLike Condition="$([MSBuild]::IsOsUnixLike())">true</OsUnixLike>
<LangVersion>latest</LangVersion>
<TargetLatestRuntimePatch Condition="'$(TargetLatestRuntimePatch)'==''">true</TargetLatestRuntimePatch>
<ConariGeneratePackageOnBuild Condition="'$(ConariGeneratePackageOnBuild)'==''">true</ConariGeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup Label="Supported TFMs">
<NetfxTFM>net40;net472</NetfxTFM>
<NetfxTFM Condition="'$(SuppressNetfxTFM)'=='true'"></NetfxTFM>
<NetStdTFM>netstandard2.0;netstandard2.1</NetStdTFM> <!-- 2.0 is most minimal and hacked -->
<NetStdTFM Condition="'$(SuppressNetStdTFM)'=='true'"></NetStdTFM>
<NetCoreTFM>netcoreapp2.1</NetCoreTFM>
<NetCoreTFM Condition="'$(SuppressNetCoreTFM)'=='true'"></NetCoreTFM>
<DotNetTFM>net5.0</DotNetTFM>
<DotNetTFM Condition="'$(SuppressDotNetTFM)'=='true'"></DotNetTFM>
</PropertyGroup>
<PropertyGroup>
<ConariTFM>$(NetfxTFM);$(DotNetTFM);$(NetCoreTFM);$(NetStdTFM)</ConariTFM>
<ConariTFM Condition="'$(OsUnixLike)'=='true'">$(DotNetTFM);$(NetCoreTFM);$(NetStdTFM)</ConariTFM>
<ConariTFM Condition="'$(BuildAndTestUsing)'!=''">$(BuildAndTestUsing)</ConariTFM>
<ConariTFM Condition="'$(OverrideConariTFM)'!=''">$(OverrideConariTFM)</ConariTFM>
<ConariTestTFM>net472;$(DotNetTFM);$(NetCoreTFM)</ConariTestTFM>
<ConariTestTFM Condition="'$(OsUnixLike)'=='true'">$(DotNetTFM);$(NetCoreTFM)</ConariTestTFM>
<ConariTestTFM Condition="'$(BuildAndTestUsing)'!=''">$(BuildAndTestUsing)</ConariTestTFM>
<ConariTestTFM Condition="'$(OverrideConariTestTFM)'!=''">$(OverrideConariTestTFM)</ConariTestTFM>
<OverridedTFM Condition="$(ConariTFM.Contains('$(TargetFramework)'))=='false'">true</OverridedTFM>
</PropertyGroup>
<PropertyGroup>
<OutPrjDir>$(RootOutDir)$(MSBuildProjectName)\$(Configuration)\$(TargetFramework)\</OutPrjDir>
<ObjPrjDir>$(RootObjDir)$(MSBuildProjectName)\$(Configuration)\$(TargetFramework)\</ObjPrjDir>
<OutDir>$([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(SolutionDir)`, `$(OutPrjDir)`))`))))</OutDir>
<OutputPath>$(OutDir)</OutputPath>
<IntermediateOutputPath>$([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(SolutionDir)`, `$(ObjPrjDir)`))`))))</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup>
<IsNetCoreFamilyTarget>true</IsNetCoreFamilyTarget>
<IsNetCoreFamilyTarget Condition="$(TargetFramework.StartsWith('net4')) == 'true'">false</IsNetCoreFamilyTarget>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="'$(IsNetCoreFamilyTarget)'=='true'">NETCORE;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='netstandard2.0'">NETSTD20;NETSTD;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='net40'">NET40;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<ConariFeaturePredefinedActP5 Condition="'$(ConariFeaturePredefinedActP5)'==''">true</ConariFeaturePredefinedActP5>
<ConariFeaturePredefinedFuncP5 Condition="'$(ConariFeaturePredefinedFuncP5)'==''">true</ConariFeaturePredefinedFuncP5>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="'$(ConariFeatureNativeStringCmpStrict)'=='true'">F_NATIVE_STRING_CMP_STRICT;$(DefineConstants)</DefineConstants> <!-- Compare c-strings using fully allocated space -->
<DefineConstants Condition="'$(ConariFeaturePredefinedFuncP7)'=='true'">F_PREDEFINED_FUNC_P7;F_PREDEFINED_FUNC_P6;F_PREDEFINED_FUNC_P5;F_PREDEFINED_FUNC_P4;F_PREDEFINED_FUNC_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedActP7)'=='true'">F_PREDEFINED_ACT_P7;F_PREDEFINED_ACT_P6;F_PREDEFINED_ACT_P5;F_PREDEFINED_ACT_P4;F_PREDEFINED_ACT_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedFuncP6)'=='true'">F_PREDEFINED_FUNC_P6;F_PREDEFINED_FUNC_P5;F_PREDEFINED_FUNC_P4;F_PREDEFINED_FUNC_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedActP6)'=='true'">F_PREDEFINED_ACT_P6;F_PREDEFINED_ACT_P5;F_PREDEFINED_ACT_P4;F_PREDEFINED_ACT_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedFuncP5)'=='true'">F_PREDEFINED_FUNC_P5;F_PREDEFINED_FUNC_P4;F_PREDEFINED_FUNC_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedActP5)'=='true'">F_PREDEFINED_ACT_P5;F_PREDEFINED_ACT_P4;F_PREDEFINED_ACT_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedFuncP4)'=='true'">F_PREDEFINED_FUNC_P4;F_PREDEFINED_FUNC_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedActP4)'=='true'">F_PREDEFINED_ACT_P4;F_PREDEFINED_ACT_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedFuncP3)'=='true'">F_PREDEFINED_FUNC_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedActP3)'=='true'">F_PREDEFINED_ACT_P3;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(ConariFeaturePredefinedNativeDataT32)'=='true'">F_PREDEFINED_NATIVEDATA_T32;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DefineConstants>DEBUG;TRACE;$(DefineConstants)</DefineConstants>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='PublicRelease'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup>
<Title>Conari</Title>
<Product>github.com/3F/Conari</Product>
<Authors>$(Product)</Authors>
<Copyright>$(Product)</Copyright>
<PackageOwners>reg</PackageOwners>
<PackageProjectUrl>https://github.com/3F/Conari</PackageProjectUrl>
<RepositoryUrl>https://github.com/3F/Conari</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Appveyor.TestLogger.2.0.0\**" />
<EmbeddedResource Remove="Appveyor.TestLogger.2.0.0\**" />
<None Remove="Appveyor.TestLogger.2.0.0\**" />
</ItemGroup>
</Project>