Skip to content

Commit

Permalink
Revert "Remove use of umbrella libraries (#520)" (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Feb 14, 2020
1 parent 61c8fed commit 13cd55c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nuget/CppWinrtRules.Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<StringProperty Name="RootNamespace"
DisplayName="Root Namespace"
Description="Specifies the default namespace to be used with new files created in this project"
Description="Specifies the default namespace to be used with new files created in this project."
Category="General" />

<EnumProperty Name="CppWinRTVerbosity"
Expand All @@ -25,15 +25,15 @@

<EnumProperty Name="CppWinRTProjectLanguage"
DisplayName="Project Language"
Description="Sets the C++ dialect for the project. C++/WinRT provides full projection support, C++/CX permits consuming projection headers"
Description="Sets the C++ dialect for the project. C++/WinRT provides full projection support, C++/CX permits consuming projection headers."
Category="General">
<EnumValue Name="C++/WinRT" DisplayName="C++/WinRT" Description="Enables full consuming and producing projection support and Xaml integration" />
<EnumValue Name="C++/CX" DisplayName="C++/CX" Description="Enables C++/CX code to generate and use consuming projections" />
</EnumProperty>

<BoolProperty Name="CppWinRTLibs"
DisplayName="Umbrella Library"
Description="Adds import libraries required for Windows Runtime support"
Description="Adds the WindowsApp.lib umbrella library for Windows Runtime imports"
Category="General" />

<BoolProperty Name="CppWinRTModernIDL"
Expand Down
2 changes: 1 addition & 1 deletion nuget/Microsoft.Windows.CppWinRT.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<TypeLibraryName Condition="'%(Midl.TypeLibraryName)'==''"></TypeLibraryName>
</Midl>
<Link>
<AdditionalDependencies Condition="'$(CppWinRTLibs)' != 'false'">ole32.lib;oleaut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies Condition="'$(CppWinRTLibs)' != 'false'">WindowsApp.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>

Expand Down

0 comments on commit 13cd55c

Please sign in to comment.