Skip to content

Commit

Permalink
Set default LanguageStandard for C++ projects to gnu++23.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jul 11, 2024
1 parent 5dc4779 commit f5f0c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/build/Vezel.Zig.Sdk.Defaults.targets
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<PropertyGroup Condition="'$(LanguageStandard)' == ''">
<LanguageStandard Condition="'$(Language)' == 'C'">gnu23</LanguageStandard>
<LanguageStandard Condition="'$(Language)' == 'Cxx'">gnu++2c</LanguageStandard>
<LanguageStandard Condition="'$(Language)' == 'Cxx'">gnu++23</LanguageStandard>
<LanguageStandard Condition="'$(Language)' == 'Zig'">zig</LanguageStandard>
</PropertyGroup>

Expand Down

0 comments on commit f5f0c58

Please sign in to comment.