Skip to content

Commit 0e83cb9

Browse files
committed
add comment
1 parent b54e119 commit 0e83cb9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build/NuSpecs/WindowsAppSDK-Nuget-Native.AutoInitializer.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<PrecompiledHeader>NotUsing</PrecompiledHeader>
2525
</ClCompile>
2626

27+
<!-- Applying the preprocessor definitions globally here avoids accidental batching,
28+
which could result in duplicate source references.-->
2729
<ClCompile>
2830
<PreprocessorDefinitions>%(PreprocessorDefinitions);$(AutoInitializerPreprocessorDefinitions)</PreprocessorDefinitions>
2931
</ClCompile>

build/NuSpecs/WindowsAppSDK-Nuget-Native.UndockedRegFreeWinRT.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<PrecompiledHeader>NotUsing</PrecompiledHeader>
1616
</ClCompile>
1717

18+
<!-- Applying the preprocessor definitions globally here avoids accidental batching,
19+
which could result in duplicate source references.-->
1820
<ClCompile>
1921
<PreprocessorDefinitions>MICROSOFT_WINDOWSAPPSDK_UNDOCKEDREGFREEWINRT_AUTO_INITIALIZE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2022
<PreprocessorDefinitions Condition="'$(WindowsAppSdkUndockedRegFreeWinRTInitializeLoadLibrary)' == 'true'">MICROSOFT_WINDOWSAPPSDK_UNDOCKEDREGFREEWINRT_AUTO_INITIALIZE_LOADLIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>

0 commit comments

Comments
 (0)