summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-26 22:40:03 +0800
committerruki <[email protected]>2022-04-26 22:40:03 +0800
commitecf684a570154a8a786df8de017ff2a33f5b68d6 (patch)
tree344b39f13751ff092faf1574ff93ee52085623e8 /xmake/modules/core/tools/cl.lua
parent212d567082d8da24312c0b0ebd65a5f4ec7d4742 (diff)
add std23
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index b09a8ebd8..f7889e2c1 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -224,6 +224,8 @@ 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"}
, cxxlatest = "-std:c++latest"
, gnuxxlatest = "-std:c++latest"
}