diff options
| author | ruki <[email protected]> | 2021-08-11 16:20:05 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-11 16:20:05 +0800 |
| commit | e61891e35b9269e68c99dcad42a72c778b5fdebe (patch) | |
| tree | 91c6e69ba69f4968bcbb2c686c3515c3904fd4b7 | |
| parent | 406f1e2f66be1263636646667e8ce8aba0acee5a (diff) | |
Update project.lua
| -rw-r--r-- | xmake/core/project/project.lua | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
