summaryrefslogtreecommitdiff
path: root/xmake/rules/cppfront/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-30 00:05:31 +0800
committerruki <[email protected]>2023-08-30 00:05:31 +0800
commit4c1dfbee44148256bb9f05e776810e3a1efa53a5 (patch)
tree9813b81a784c961ee7428bdf0b4feaf883a00f8b /xmake/rules/cppfront/xmake.lua
parentb19a421b52157c06021d6782ac6cde61e57ec07a (diff)
use on build
Diffstat (limited to 'xmake/rules/cppfront/xmake.lua')
-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 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")