From 0539773b74bcc7eabab6f16a8d1760c79bf75a14 Mon Sep 17 00:00:00 2001 From: carols Date: Sun, 7 Apr 2024 22:11:58 +0800 Subject: cppfront.build->cppfront.build.cpp2, .h2 display compiling.h2 --- xmake/rules/cppfront/xmake.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/rules/cppfront/xmake.lua') diff --git a/xmake/rules/cppfront/xmake.lua b/xmake/rules/cppfront/xmake.lua index 4cd6a9675..b90222aa9 100644 --- a/xmake/rules/cppfront/xmake.lua +++ b/xmake/rules/cppfront/xmake.lua @@ -33,7 +33,7 @@ rule("cppfront.build.h2") -- add commands local argv = {"-o", path(sourcefile_h), path(sourcefile_h2)} - batchcmds:show_progress(opt.progress, "${color.build.object}compiling.cpp2 %s", sourcefile_h2) + batchcmds:show_progress(opt.progress, "${color.build.object}compiling.h2 %s", sourcefile_h2) batchcmds:mkdir(basedir) batchcmds:vrunv(cppfront.program, argv) @@ -44,7 +44,7 @@ rule("cppfront.build.h2") end) -- define rule: cppfront.build -rule("cppfront.build") +rule("cppfront.build.cpp2") set_extensions(".cpp2") -- .h2 must compile before .cpp2 @@ -99,7 +99,7 @@ rule("cppfront") add_deps("cppfront.build.h2") -- add build rules - add_deps("cppfront.build") + add_deps("cppfront.build.cpp2") -- set compiler runtime, e.g. vs runtime add_deps("utils.compiler.runtime") -- cgit v1.3.1