summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorBush2021 <[email protected]>2025-12-07 15:44:54 -0500
committerGitHub <[email protected]>2025-12-07 15:44:54 -0500
commit0c9d7b06bb294b3f3cbe7d37c53810f5e8d9a08d (patch)
tree867836c4f12495e6afb127208112c14cc43d9491 /xmake/modules/core/tools/cl.lua
parent4e4b28eb4cad79cc4df5fca887b4f4b709f2b211 (diff)
add /std:c++23preview support for cl
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua8
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"