summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-12 00:26:55 +0800
committerruki <[email protected]>2018-04-11 20:41:34 +0800
commitb0196c2cc8d91c1db21442488ff44e64336bfa7c (patch)
tree05d09c87ac1d4f4182fee21da97146d84ce15f9f /xmake/rules
parenta193fb96aa44c2ba32b18557fabd7d7694ee41eb (diff)
load rule deps
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/qt_console/xmake.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake/rules/qt_console/xmake.lua b/xmake/rules/qt_console/xmake.lua
index 521eb784d..8d6de96c2 100644
--- a/xmake/rules/qt_console/xmake.lua
+++ b/xmake/rules/qt_console/xmake.lua
@@ -23,8 +23,16 @@
--
-- define rule
+rule("qt_console_super")
+ set_kind("binary")
+ on_build(function (target, sourcefile)
+ print("TODO")
+ end)
+
+-- define rule
rule("qt_console")
set_kind("binary")
+ add_deps("qt_console_super")
on_build(function (target, sourcefile)
print("TODO")
end)