summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-02 22:59:28 +0800
committerruki <[email protected]>2025-12-02 22:59:28 +0800
commitca52efa1eff5af56e0dc9197616e709ce1b97a25 (patch)
treee547a13c4842e45f3d277b97e2760337c66a1615
parent9d7699a185cf459b33782fc314c39fdd848de816 (diff)
fix rules
-rw-r--r--xmake/rules/c++/xmake.lua4
-rw-r--r--xmake/rules/objc++/xmake.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/c++/xmake.lua b/xmake/rules/c++/xmake.lua
index 23e5f27bc..dbb24451d 100644
--- a/xmake/rules/c++/xmake.lua
+++ b/xmake/rules/c++/xmake.lua
@@ -22,7 +22,7 @@ rule("c.build")
set_sourcekinds("cc")
add_deps("c.build.pcheader")
on_config(function (target)
- import("rules.c++.config")(target, "cc")
+ import("config")(target, "cc")
end)
on_build_files("private.action.build.object", {jobgraph = true, batch = true, distcc = true})
@@ -30,7 +30,7 @@ rule("c++.build")
set_sourcekinds("cxx")
add_deps("c++.build.pcheader", "c++.build.modules")
on_config(function (target)
- import("rules.c++.config")(target, "cxx")
+ import("config")(target, "cxx")
end)
on_build_files("private.action.build.object", {jobgraph = true, batch = true, distcc = true})
diff --git a/xmake/rules/objc++/xmake.lua b/xmake/rules/objc++/xmake.lua
index 321aa131a..23cdc3faa 100644
--- a/xmake/rules/objc++/xmake.lua
+++ b/xmake/rules/objc++/xmake.lua
@@ -23,7 +23,7 @@ rule("objc.build")
set_sourcekinds("mm")
add_deps("objc.build.pcheader")
on_config(function (target)
- import("rules.objc++.config")(target, "mm")
+ import("config")(target, "mm")
end)
on_build_files("private.action.build.object", {jobgraph = true, batch = true, distcc = true})
@@ -32,7 +32,7 @@ rule("objc++.build")
set_sourcekinds("mxx")
add_deps("objc++.build.pcheader")
on_config(function (target)
- import("rules.objc++.config")(target, "mxx")
+ import("config")(target, "mxx")
end)
on_build_files("private.action.build.object", {jobgraph = true, batch = true, distcc = true})