diff options
Diffstat (limited to 'xmake/modules/target/action/clean/main.lua')
| -rw-r--r-- | xmake/modules/target/action/clean/main.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/target/action/clean/main.lua b/xmake/modules/target/action/clean/main.lua index 8cbc9599c..74ebf39bb 100644 --- a/xmake/modules/target/action/clean/main.lua +++ b/xmake/modules/target/action/clean/main.lua @@ -21,6 +21,7 @@ -- imports import("core.base.option") import("private.action.clean.remove_files") +import("private.cache.build_cache") -- the builtin clean main entry function main(target) @@ -61,6 +62,9 @@ function main(target) -- remove all autogen files for each platform remove_files(target:autogendir({root = true})) + + -- clean build cache + build_cache.clean() else -- remove dependent files for the current platform |
