summaryrefslogtreecommitdiff
path: root/xmake/rules/cppfront
diff options
context:
space:
mode:
authorxihale <[email protected]>2025-05-31 21:38:21 +0800
committerxihale <[email protected]>2025-05-31 21:38:21 +0800
commit7ccd8a389ebec7f2d2cd4f2637d57c3047614792 (patch)
tree45e0263b6169fb5aa9ee4ab35503f9f675c65d2e /xmake/rules/cppfront
parent9cde4b9773b2171c273dac7f067a53ed36854621 (diff)
fix: compile with C++latest for cppfront generated cpp files
Diffstat (limited to 'xmake/rules/cppfront')
-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 bc45d90f3..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++26"}})
+ batchcmds:compile(sourcefile_cpp, objectfile, {configs = {languages = "c++latest"}})
-- add deps
batchcmds:add_depfiles(sourcefile_cpp2)