diff options
| author | xihale <[email protected]> | 2025-05-31 21:38:21 +0800 |
|---|---|---|
| committer | xihale <[email protected]> | 2025-05-31 21:38:21 +0800 |
| commit | 7ccd8a389ebec7f2d2cd4f2637d57c3047614792 (patch) | |
| tree | 45e0263b6169fb5aa9ee4ab35503f9f675c65d2e /xmake/rules/cppfront/xmake.lua | |
| parent | 9cde4b9773b2171c273dac7f067a53ed36854621 (diff) | |
fix: compile with C++latest for cppfront generated cpp files
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 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) |
