diff options
| -rw-r--r-- | xmake/scripts/base/config.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/scripts/base/config.lua b/xmake/scripts/base/config.lua index 41db332c4..8ec455de3 100644 --- a/xmake/scripts/base/config.lua +++ b/xmake/scripts/base/config.lua @@ -378,6 +378,11 @@ function config.loadxconf() config._CONFIGS = config._CONFIGS or {} local configs = config._CONFIGS + -- mark as "rebuild" if clean the cached configure + if options.clean then + configs.__rebuild = true + end + -- init targets configs._TARGET = configs._TARGET or {} if name ~= "all" then |
