diff options
| author | ruki <[email protected]> | 2023-01-31 00:52:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-31 00:52:14 +0800 |
| commit | 7dccbc709bafaec3be01d9723b7b9150f7092a5b (patch) | |
| tree | 958137b71c156294f470b68933e6e1990a2c3f3a /xmake/modules | |
| parent | bcbc43a6957687e065e6e1c36b0a824e4db6ac1b (diff) | |
improve clean
Diffstat (limited to 'xmake/modules')
| -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 8871ca21f..0335aa648 100644 --- a/xmake/modules/target/action/clean/main.lua +++ b/xmake/modules/target/action/clean/main.lua @@ -63,6 +63,10 @@ function main(target) -- remove all? if option.get("all") then + -- remove config files + local _, configfiles = target:configfiles() + remove_files(configfiles) + -- TODO remove the config.h file (deprecated) remove_files(target:configheader()) |
