diff options
| author | ruki <[email protected]> | 2025-12-08 11:23:13 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-08 11:23:13 +0800 |
| commit | fb2a2e502892b24efba5b7ebf662e784966db5ee (patch) | |
| tree | 412ec75f362a50c32a1c6e984ae038df418069be | |
| parent | c5ca6a600f87ca54ce8361638c7f49b682fa57ff (diff) | |
| parent | 0c9d7b06bb294b3f3cbe7d37c53810f5e8d9a08d (diff) | |
Merge pull request #7106 from Bush2021/c++23preview
add `/std:c++23preview` support for cl
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 46ecc9b2b..240189e4c 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -281,10 +281,10 @@ function nf_language(self, stdname) , gnuxx20 = {"-std:c++20", "-std:c++latest"} , cxx2a = {"-std:c++20", "-std:c++latest"} , gnuxx2a = {"-std:c++20", "-std:c++latest"} - , cxx23 = {"-std:c++23", "-std:c++latest"} - , gnuxx23 = {"-std:c++23", "-std:c++latest"} - , cxx2b = {"-std:c++23", "-std:c++latest"} - , gnuxx2b = {"-std:c++23", "-std:c++latest"} + , cxx23 = {"-std:c++23", "-std:c++23preview", "-std:c++latest"} + , gnuxx23 = {"-std:c++23", "-std:c++23preview", "-std:c++latest"} + , cxx2b = {"-std:c++23", "-std:c++23preview", "-std:c++latest"} + , gnuxx2b = {"-std:c++23", "-std:c++23preview", "-std:c++latest"} , cxx26 = {"-std:c++26", "-std:c++latest"} , gnuxx26 = {"-std:c++26", "-std:c++latest"} , cxxlatest = "-std:c++latest" |
