summaryrefslogtreecommitdiff
path: root/xmake/rules/c++
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-31 22:22:15 +0800
committerruki <[email protected]>2019-08-31 22:22:15 +0800
commitd87ef11e59b4c84c13c680d0dd28bd9a93de39d9 (patch)
tree88f8986caa1b75628e6abba1acda8bfb4783f738 /xmake/rules/c++
parent9b62ca9a3bdccb9a37f80a6dd943dfd13a502a32 (diff)
add objc, swift and asm rules
Diffstat (limited to 'xmake/rules/c++')
-rw-r--r--xmake/rules/c++/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/xmake.lua b/xmake/rules/c++/xmake.lua
index 27d49df2a..a9eebf265 100644
--- a/xmake/rules/c++/xmake.lua
+++ b/xmake/rules/c++/xmake.lua
@@ -22,14 +22,14 @@
rule("c.build")
set_extensions(".c")
on_build_files(function (target, sourcefiles, opt)
- import("build.object")(target, sourcefiles, opt)
+ import("private.action.build.object")(target, sourcefiles, opt)
end)
-- define rule: cpp.build
rule("cpp.build")
set_extensions(".cpp", ".cc", ".cxx")
on_build_files(function (target, sourcefiles, opt)
- import("build.object")(target, sourcefiles, opt)
+ import("private.action.build.object")(target, sourcefiles, opt)
end)
-- define rule: cpp