From 4c1dfbee44148256bb9f05e776810e3a1efa53a5 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 30 Aug 2023 00:05:31 +0800 Subject: use on build --- xmake/rules/cppfront/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/cppfront/xmake.lua') diff --git a/xmake/rules/cppfront/xmake.lua b/xmake/rules/cppfront/xmake.lua index 5ef208e3b..90153df85 100644 --- a/xmake/rules/cppfront/xmake.lua +++ b/xmake/rules/cppfront/xmake.lua @@ -35,7 +35,7 @@ rule("cppfront.build") end end end) - before_buildcmd_file(function (target, batchcmds, sourcefile_cpp2, opt) + on_buildcmd_file(function (target, batchcmds, sourcefile_cpp2, opt) -- get cppfront import("lib.detect.find_tool") -- cgit v1.3.1