File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -828,7 +828,8 @@ $(XamlMetaDataProviderPch)
828828 <!-- Append any additional item metadata after all default and project settings have been applied-->
829829 <ItemDefinitionGroup >
830830 <ClCompile >
831- <AdditionalOptions >%(AdditionalOptions) /bigobj /await</AdditionalOptions >
831+ <AdditionalOptions >%(AdditionalOptions) /bigobj</AdditionalOptions >
832+ <AdditionalOptions Condition =" '%(ClCompile.LanguageStandard)' == 'stdcpp17'" >%(AdditionalOptions) /await</AdditionalOptions >
832833 <AdditionalIncludeDirectories >%(AdditionalIncludeDirectories);$(GeneratedFilesDir)</AdditionalIncludeDirectories >
833834 </ClCompile >
834835 <Midl Condition =" '$(CppWinRTModernIDL)' != 'false'" >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ It sets the following project properties and item metadata:
3636| XamlLanguage | CppWinRT | Directs the Xaml compiler to generate C++/WinRT code |
3737| ClCompile.CompileAsWinRT | * false | Enables ISO C++ compilation (disables C++/CX) |
3838| ClCompile.LanguageStandard | * stdcpp17 | Enables C++17 language features |
39- | ClCompile.AdditionalOptions | /bigobj /await | Enables support for large object files and coroutines |
39+ | ClCompile.AdditionalOptions | /bigobj | Enables support for large object files |
4040| ClCompile.AdditionalIncludeDirectories | GeneratedFilesDir | Adds $(GeneratedFilesDir) to the C++ include dirs |
4141| Link.AdditionalDependencies | WindowsApp.lib | Umbrella library for Windows Runtime imports |
4242| Midl.AdditionalOptions | /reference ... | Enables faster compilation with winmd references (versus idl imports) |
You can’t perform that action at this time.
0 commit comments