summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-06 16:24:16 +0800
committerruki <[email protected]>2016-04-06 16:24:16 +0800
commit2b9f00c6aeaa50699ed7d99ecc9f00d7048643df (patch)
treedf45a78fb54ec3282c61a42a1aa5b1e68bbf28e6 /xmake/core/project/project.lua
parent986109fa37d1c4b13ad970395358cc5ca6bacc08 (diff)
auto reconfig if project changed
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index eaa8a74e1..9bcbec092 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -646,6 +646,17 @@ function project.options(enable_filter)
end
+-- get the mtimes
+function project.mtimes()
+
+ -- get interpreter
+ local interp = project._interpreter()
+ assert(interp)
+
+ -- get it
+ return interp:mtimes()
+end
+
-- get the project menu
function project.menu()