forked from microsoft/microsoft-ui-xaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment.props
107 lines (107 loc) · 5.85 KB
/
environment.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
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- BuildingWithBuildExe is a property set by razzle builds to let us know whether or not we're currently in a razzle build,
started by using "build" in a razzle window. If we are in a razzle build, then we want to set all of the properties that are needed
by the razzle targets files. If we aren't in a razzle build, then we're just building using VS, so whether we're doing that
in the WinUI repo or the Windows repo, we can just use the standard VS properties we've been using to date. -->
<PropertyGroup Condition="$(BuildingWithBuildExe) != 'true'">
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)' >= '16.0'">v142</PlatformToolset>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<CppTargetsFilePath>$(VCTargetsPath)\Microsoft.Cpp.targets</CppTargetsFilePath>
<CSharpTargetsFilePath>$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets</CSharpTargetsFilePath>
<MUXNamespace>Microsoft.UI.Xaml</MUXNamespace>
<MUXTargetName>Microsoft.UI.Xaml</MUXTargetName>
</PropertyGroup>
<PropertyGroup Condition="$(BuildingWithBuildExe) == 'true'">
<DevToolChain>LKG</DevToolChain>
<VisualStudioVersion>14.0</VisualStudioVersion>
<UseAtl>true</UseAtl>
<AtlVersion>80</AtlVersion>
<UseStl>true</UseStl>
<StlVersion>StlVerCurrent</StlVersion>
<UseMsvcrt>true</UseMsvcrt>
<UseUnicrt>true</UseUnicrt>
<UseNativeEh>true</UseNativeEh>
<ExcludeWin32Libs>true</ExcludeWin32Libs>
<Use_Asmmeta>false</Use_Asmmeta>
<AssemblyAttributeCLSCompliant>false</AssemblyAttributeCLSCompliant>
<DisableXbfGeneration>false</DisableXbfGeneration>
<UseOldXamlCompiler>false</UseOldXamlCompiler>
<DefineConstants>$(DefineConstants);BUILD_WINDOWS</DefineConstants>
<PlatformToolset>v120</PlatformToolset>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<CppTargetsFilePath>$(NTMAKEENV)\Microsoft.Build.UI.Xaml.Cpp.targets</CppTargetsFilePath>
<CSharpTargetsFilePath>$(NTMAKEENV)\Microsoft.Build.UI.Xaml.CSharp.targets</CSharpTargetsFilePath>
<_NoWinAPIFamilyApp>true</_NoWinAPIFamilyApp>
<MUXNamespace>Windows.UI.Xaml</MUXNamespace>
<MUXTargetName>Windows.UI.Xaml.Controls</MUXTargetName>
<!-- arm64 builds aren't supported by .net -->
<PlatformSpecificBuild Condition="$(_BuildArch) != 'arm64'">true</PlatformSpecificBuild>
<UseInsiderSDK>true</UseInsiderSDK>
</PropertyGroup>
<Import Condition="$(BuildingWithBuildExe) == 'true'" Project="$(NTMAKEENV)\Microsoft.Build.settings" />
<!-- We build a custom version of MUX.dll for use by the Store app. This includes only the types that the Store App team actually need. -->
<!-- This is controlled by the MSBUILD BuildLeanMuxForTheStoreApp variable and the BUILD_LEAN_MUX_FOR_THE_STORE_APP preprocess symbol. -->
<PropertyGroup Condition="$(BuildLeanMuxForTheStoreApp) != 'true'">
<!-- If BuildLeanMuxForTheStoreApp is unset, default it to false. -->
<BuildLeanMuxForTheStoreApp>false</BuildLeanMuxForTheStoreApp>
</PropertyGroup>
<PropertyGroup Condition="$(MUXFinalRelease) != 'true'">
<!-- If MUXPrelease is unset, default it to false. -->
<MUXFinalRelease>false</MUXFinalRelease>
</PropertyGroup>
<PropertyGroup Condition="$(UseInsiderSDK) == 'true'">
<DefineConstants>$(DefineConstants);USE_INSIDER_SDK</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(UseInternalSDK) == 'true'">
<DefineConstants>$(DefineConstants);USE_INTERNAL_SDK</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(EmitTelemetryEvents) == 'true'">
<DefineConstants>$(DefineConstants);EMIT_TELEMETRY_EVENTS</DefineConstants>
</PropertyGroup>
<ItemDefinitionGroup Condition="$(BuildLeanMuxForTheStoreApp) == 'true'">
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);BUILD_LEAN_MUX_FOR_THE_STORE_APP</PreprocessorDefinitions>
</ClCompile>
<Midl>
<PreprocessorDefinitions>%(PreprocessorDefinitions);BUILD_LEAN_MUX_FOR_THE_STORE_APP</PreprocessorDefinitions>
</Midl>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(MUXFinalRelease) == 'false'">
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);MUX_PRERELEASE</PreprocessorDefinitions>
</ClCompile>
<Midl>
<PreprocessorDefinitions>%(PreprocessorDefinitions);MUX_PRERELEASE</PreprocessorDefinitions>
</Midl>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(UseInsiderSDK) == 'true'">
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);USE_INSIDER_SDK</PreprocessorDefinitions>
</ClCompile>
<Midl>
<PreprocessorDefinitions>%(PreprocessorDefinitions);USE_INSIDER_SDK</PreprocessorDefinitions>
</Midl>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(EmitTelemetryEvents) == 'true'">
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);EMIT_TELEMETRY_EVENTS</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(BuildingWithBuildExe) == 'true'">
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);BUILD_WINDOWS</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
%(AdditionalIncludeDirectories);
$(PUBLIC_ROOT)\internal\sdk\inc;
</AdditionalIncludeDirectories>
</ClCompile>
<Page>
<Link>%(Filename)%(Extension)</Link>
</Page>
</ItemDefinitionGroup>
</Project>