summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-12 00:49:03 +0800
committerruki <[email protected]>2018-04-11 22:54:23 +0800
commit67bfa73b2ae4ddfa3f5c001685bdb063a0454ec1 (patch)
treee9018f32a1c66073aff796ffc48a010839699929 /xmake/core/project/target.lua
parent6d36e632a581a487f275cd77cf72c52dd67eedef (diff)
add orderules and on_load
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 0a0731ae9..4ecd7ef24 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -281,6 +281,11 @@ function target:rules()
return self._RULES
end
+-- get target order rules
+function target:orderules()
+ return self._ORDERULES
+end
+
-- get target rule from the given source extension
function target:rule(extension)