summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-21 08:00:28 +0800
committerGitHub <[email protected]>2022-08-21 08:00:28 +0800
commite914ebdba3e47cd0fe90de6b8ade2c328e0d04b6 (patch)
treed625f720e3db468a9b3d74a4e759691b49b818f6 /xmake/modules/core/tools/cl.lua
parentab5072ee164c4fdf47af97d0b700879f47372793 (diff)
parent278f37f3aa0c45c669dc96d10053bc855e1febdc (diff)
Merge pull request #2703 from MorganCaron/dev
Adding C++2b support
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 8d90e47a4..506f9e6d7 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -229,6 +229,8 @@ function nf_language(self, stdname)
, 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"}
, cxxlatest = "-std:c++latest"
, gnuxxlatest = "-std:c++latest"
}
@@ -664,4 +666,3 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
end
end
end
-