|
1 |
| -<?xml version="1.0" encoding="utf-8"?> |
2 |
| -<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> |
3 | 1 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
4 | 2 |
|
5 | 3 | <Target Name="WindowsAppRuntimeAutoInitializer">
|
| 4 | + <PropertyGroup> |
| 5 | + <AutoInitializerPreprocessorDefinitions /> |
| 6 | + <AutoInitializerPreprocessorDefinitions Condition="'$(WindowsAppSdkBootstrapInitialize)'=='true'"> |
| 7 | + MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_BOOTSTRAP;$(AutoInitializerPreprocessorDefinitions) |
| 8 | + </AutoInitializerPreprocessorDefinitions> |
| 9 | + <AutoInitializerPreprocessorDefinitions Condition="'$(WindowsAppSdkDeploymentManagerInitialize)'=='true'"> |
| 10 | + MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_DEPLOYMENTMANAGER;$(AutoInitializerPreprocessorDefinitions) |
| 11 | + </AutoInitializerPreprocessorDefinitions> |
| 12 | + <AutoInitializerPreprocessorDefinitions Condition="'$(WindowsAppSdkUndockedRegFreeWinRTInitialize)'=='true'"> |
| 13 | + MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_UNDOCKEDREGFREEWINRT;$(AutoInitializerPreprocessorDefinitions) |
| 14 | + </AutoInitializerPreprocessorDefinitions> |
| 15 | + <AutoInitializerPreprocessorDefinitions Condition="'$(WindowsAppSdkCompatibilityInitialize)'=='true'"> |
| 16 | + MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_COMPATIBILITY;$(AutoInitializerPreprocessorDefinitions) |
| 17 | + </AutoInitializerPreprocessorDefinitions> |
| 18 | + </PropertyGroup> |
| 19 | + |
6 | 20 | <ItemGroup>
|
7 |
| - <ClCompile Include="$(MSBuildThisFileDirectory)..\..\include\WindowsAppRuntimeAutoInitializer.cpp"> |
| 21 | + <AutoInitializerClCompile Include="$(MSBuildThisFileDirectory)..\..\include\WindowsAppRuntimeAutoInitializer.cpp"> |
8 | 22 | <PrecompiledHeader>NotUsing</PrecompiledHeader>
|
9 |
| - <PreprocessorDefinitions Condition="'$(WindowsAppSdkBootstrapInitialize)'=='true'">MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_BOOTSTRAP;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
10 |
| - <PreprocessorDefinitions Condition="'$(WindowsAppSdkDeploymentManagerInitialize)'=='true'">MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_DEPLOYMENTMANAGER;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
11 |
| - <PreprocessorDefinitions Condition="'$(WindowsAppSdkUndockedRegFreeWinRTInitialize)'=='true'">MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_UNDOCKEDREGFREEWINRT;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
12 |
| - <PreprocessorDefinitions Condition="'$(WindowsAppSdkCompatibilityInitialize)'=='true'">MICROSOFT_WINDOWSAPPSDK_AUTOINITIALIZE_COMPATIBILITY;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 23 | + <PreprocessorDefinitions>$(AutoInitializerPreprocessorDefinitions)</PreprocessorDefinitions> |
| 24 | + </AutoInitializerClCompile> |
| 25 | + </ItemGroup> |
| 26 | + |
| 27 | + <ItemGroup> |
| 28 | + <ClCompile Include="@(AutoInitializerClCompile->'%(Identity)')"> |
| 29 | + <PrecompiledHeader>%(AutoInitializerClCompile.PrecompiledHeader)</PrecompiledHeader> |
| 30 | + <PreprocessorDefinitions>%(AutoInitializerClCompile.PreprocessorDefinitions)</PreprocessorDefinitions> |
13 | 31 | </ClCompile>
|
14 | 32 | </ItemGroup>
|
15 | 33 | </Target>
|
16 | 34 |
|
17 | 35 | <PropertyGroup>
|
18 | 36 | <BeforeClCompileTargets>
|
19 |
| - $(BeforeClCompileTargets); WindowsAppRuntimeAutoInitializer; |
| 37 | + $(BeforeClCompileTargets);WindowsAppRuntimeAutoInitializer; |
20 | 38 | </BeforeClCompileTargets>
|
21 | 39 | </PropertyGroup>
|
22 | 40 |
|
|
0 commit comments