diff options
| -rw-r--r-- | xmake/actions/config/main.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 41aec5f75..9e7110c7f 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -276,8 +276,9 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) local recheck = _need_check(options_changed or not configcache_loaded or autogen) if recheck then - -- clear local cache + -- clear and flush local cache to disk localcache.clear() + localcache.save() -- check platform instance_plat:check() @@ -324,7 +325,7 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) config.dump() end - -- save options and configure for the given target + -- save options and config cache config.save() localcache.set("config", "options", options) localcache.save("config") |
