diff options
| author | xihale <[email protected]> | 2025-05-31 17:11:24 +0800 |
|---|---|---|
| committer | xihale <[email protected]> | 2025-05-31 17:11:24 +0800 |
| commit | 9cde4b9773b2171c273dac7f067a53ed36854621 (patch) | |
| tree | 04e210a94d7a3b77bd41b9eaba7b1b7923b995ab /xmake/rules/cppfront/xmake.lua | |
| parent | 365df4ea412f98cdd48ebda71f2b2bbf49391445 (diff) | |
fix: using C++26 to compile the generated code by cppfront
Diffstat (limited to 'xmake/rules/cppfront/xmake.lua')
| -rw-r--r-- | xmake/rules/cppfront/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/cppfront/xmake.lua b/xmake/rules/cppfront/xmake.lua index 772c59487..bc45d90f3 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++26"}}) -- add deps batchcmds:add_depfiles(sourcefile_cpp2) |
