forked from microsoft/microsoft-ui-xaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment.props
83 lines (83 loc) · 4.41 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
<?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>
<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" />
<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>
<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="$(BuildingWithBuildExe) == 'true'">
<ClCompile>
<AdditionalIncludeDirectories>
%(AdditionalIncludeDirectories);
$(PUBLIC_ROOT)\internal\sdk\inc;
</AdditionalIncludeDirectories>
</ClCompile>
<Page>
<Link>%(Filename)%(Extension)</Link>
</Page>
</ItemDefinitionGroup>
</Project>