premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.2k stars 618 forks source link

Add C++23 cppdialect #2277

Closed jlaumon closed 3 days ago

jlaumon commented 4 days ago

What does this PR do?

It adds C++23, C++2b, gnu++23 and gnu++2b to cppdialect.

How does this PR change Premake's behavior?

It adds the new values for cppdialect and changes the behavior of C++Latest to C++23 on several platforms. I used 4a627cc7642fb379790cc2ac2de9e51d8044d3e8 (which added C++20) as a model for what to do.

Some notes though:

Anything else we should know?

Closes #2273

Did you check all the boxes?

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

nickclark2016 commented 4 days ago

DMD/LDC can be ignored. They are D toolchains, not C++.