From 2b9f00c6aeaa50699ed7d99ecc9f00d7048643df Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 6 Apr 2016 16:24:16 +0800 Subject: auto reconfig if project changed --- xmake/core/project/project.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'xmake/core/project/project.lua') 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() -- cgit v1.3.1