From e61891e35b9269e68c99dcad42a72c778b5fdebe Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 11 Aug 2021 16:20:05 +0800 Subject: Update project.lua --- xmake/core/project/project.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 831c603bf..fafc254bf 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -1091,7 +1091,12 @@ end -- get the mtimes function project.mtimes() - return project.interpreter():mtimes() + local mtimes = project._MTIMES + if not mtimes then + mtimes = project.interpreter():mtimes() + project._MTIMES = mtimes + end + return mtimes end -- get the project menu -- cgit v1.3.1