forked from microsoft/WindowsAppSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment.props
30 lines (30 loc) · 1.54 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
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE-CODE in the project root for license information. -->
<Project InitialTargets="ErrorIfIncluded" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="$(WindowsAppSDKFinalRelease) != 'true'">
<!-- If WindowsAppSDKPrelease is unset, default it to false. -->
<WindowsAppSDKFinalRelease>false</WindowsAppSDKFinalRelease>
</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="$(WindowsAppSDKFinalRelease) == 'false'">
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WINDOWSAPPSDK_PRERELEASE</PreprocessorDefinitions>
</ClCompile>
<Midl>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WINDOWSAPPSDK_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>
</Project>