diff options
| author | ruki <[email protected]> | 2019-09-07 21:54:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-09-07 21:54:53 +0800 |
| commit | f1cb1eb4d5d3e8a603f5e839d8859ab2fa95dfb6 (patch) | |
| tree | f81a3c702a5f1e978813cfbae3eb4665c93ef04f /xmake/rules/objc++/xmake.lua | |
| parent | 16350d2759319d15c4800e8c2a4184a34ab92171 (diff) | |
improve rules
Diffstat (limited to 'xmake/rules/objc++/xmake.lua')
| -rw-r--r-- | xmake/rules/objc++/xmake.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/rules/objc++/xmake.lua b/xmake/rules/objc++/xmake.lua index e666d8b38..7356cf36d 100644 --- a/xmake/rules/objc++/xmake.lua +++ b/xmake/rules/objc++/xmake.lua @@ -22,17 +22,13 @@ rule("objc.build") set_extensions(".m") add_deps("c.build.pcheader") - on_build_files(function (target, sourcebatch, opt) - import("private.action.build.object")(target, sourcebatch, opt) - end) + on_build_files("private.action.build.object") -- define rule: objc++.build rule("objc++.build") set_extensions(".mm") add_deps("c++.build.pcheader") - on_build_files(function (target, sourcebatch, opt) - import("private.action.build.object")(target, sourcebatch, opt) - end) + on_build_files("private.action.build.object") -- define rule: objc rule("objc++") |
