WindowsAppSDK/version.props

34 строки
1.7 KiB
XML

<?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="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WindowsAppSDKVersionMajor>0</WindowsAppSDKVersionMajor>
<WindowsAppSDKVersionMinor>1</WindowsAppSDKVersionMinor>
<WindowsAppSDKVersionPatch>0</WindowsAppSDKVersionPatch>
<WindowsAppSDKVersionBuild Condition="$(WindowsAppSDKVersionBuild) == ''">0</WindowsAppSDKVersionBuild>
<WindowsAppSDKVersionRevision Condition="$(WindowsAppSDKVersionRevision) == ''">0</WindowsAppSDKVersionRevision>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>
%(PreprocessorDefinitions);
WINDOWSAPPSDK_VERSION_MAJOR=$(WindowsAppSDKVersionMajor);
WINDOWSAPPSDK_VERSION_MINOR=$(WindowsAppSDKVersionMinor);
WINDOWSAPPSDK_VERSION_PATCH=$(WindowsAppSDKVersionPatch);
WINDOWSAPPSDK_VERSION_BUILD=$(WindowsAppSDKVersionBuild);
WINDOWSAPPSDK_VERSION_REVISION=$(WindowsAppSDKVersionRevision);
</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>
%(PreprocessorDefinitions);
WINDOWSAPPSDK_VERSION_MAJOR=$(WindowsAppSDKVersionMajor);
WINDOWSAPPSDK_VERSION_MINOR=$(WindowsAppSDKVersionMinor);
WINDOWSAPPSDK_VERSION_PATCH=$(WindowsAppSDKVersionPatch);
WINDOWSAPPSDK_VERSION_BUILD=$(WindowsAppSDKVersionBuild);
WINDOWSAPPSDK_VERSION_REVISION=$(WindowsAppSDKVersionRevision);
</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
</Project>