From 0c9d7b06bb294b3f3cbe7d37c53810f5e8d9a08d Mon Sep 17 00:00:00 2001 From: Bush2021 <79072750+Bush2021@users.noreply.github.com> Date: Sun, 7 Dec 2025 15:44:54 -0500 Subject: add /std:c++23preview support for cl --- xmake/modules/core/tools/cl.lua | 8 ++++---- 1 file 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" -- cgit v1.3.1