File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 8181 Description =" Enables or disables the default for copying binaries to the output folder to be false"
8282 Category =" General" />
8383
84+ <BoolProperty Name =" CppWinRTEnableLegacyCoroutines"
85+ DisplayName =" Enable legacy coroutines (C++17)"
86+ Description =" Enables the /await compiler option (disable this if you want to pass this yourself)"
87+ Category =" General" />
88+
8489</Rule >
Original file line number Diff line number Diff line change @@ -871,7 +871,7 @@ $(XamlMetaDataProviderPch)
871871 <ItemDefinitionGroup >
872872 <ClCompile >
873873 <AdditionalOptions >%(AdditionalOptions) /bigobj</AdditionalOptions >
874- <AdditionalOptions Condition =" '%(ClCompile.LanguageStandard)' == 'stdcpp17'" >%(AdditionalOptions) /await</AdditionalOptions >
874+ <AdditionalOptions Condition =" '%(ClCompile.LanguageStandard)' == 'stdcpp17' And '$(CppWinRTEnableLegacyCoroutines)' != 'false' " >%(AdditionalOptions) /await</AdditionalOptions >
875875 <AdditionalIncludeDirectories >%(AdditionalIncludeDirectories);$(GeneratedFilesDir)</AdditionalIncludeDirectories >
876876 </ClCompile >
877877 <Midl Condition =" '$(CppWinRTModernIDL)' != 'false'" >
You can’t perform that action at this time.
0 commit comments