summaryrefslogtreecommitdiff
path: root/xmake/rules/cppfront/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-01 00:47:14 +0800
committerGitHub <[email protected]>2025-06-01 00:47:14 +0800
commit1df3b5ed4d4bec078a44ade91a8603ba375d0577 (patch)
tree45e0263b6169fb5aa9ee4ab35503f9f675c65d2e /xmake/rules/cppfront/xmake.lua
parent365df4ea412f98cdd48ebda71f2b2bbf49391445 (diff)
parent7ccd8a389ebec7f2d2cd4f2637d57c3047614792 (diff)
Merge pull request #6516 from xihale/dev
fix: using C++latest to compile the generated code by cppfront
Diffstat (limited to 'xmake/rules/cppfront/xmake.lua')
-rw-r--r--xmake/rules/cppfront/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/cppfront/xmake.lua b/xmake/rules/cppfront/xmake.lua
index 772c59487..f829b671f 100644
--- a/xmake/rules/cppfront/xmake.lua
+++ b/xmake/rules/cppfront/xmake.lua
@@ -87,7 +87,7 @@ rule("cppfront.build.cpp2")
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.cpp2 %s", sourcefile_cpp2)
batchcmds:mkdir(basedir)
batchcmds:vrunv(cppfront.program, argv)
- batchcmds:compile(sourcefile_cpp, objectfile, {configs = {languages = "c++20"}})
+ batchcmds:compile(sourcefile_cpp, objectfile, {configs = {languages = "c++latest"}})
-- add deps
batchcmds:add_depfiles(sourcefile_cpp2)