diff options
| author | ruki <[email protected]> | 2023-03-18 22:24:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-18 22:24:31 +0800 |
| commit | 41981ca8869e9c344e1ad792c3f09f6cc1068122 (patch) | |
| tree | 5b967f095b582fa87deb421fd95bf0d5851c3912 | |
| parent | 023d2d754455214b53c401dd23febf2794827483 (diff) | |
improve on_config
| -rw-r--r-- | xmake/actions/config/main.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index be0903f0c..d24987348 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -461,12 +461,6 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- otherwise has_package() will be invalid. _check_targets() - -- update the config files - generate_configfiles({force = recheck}) - if recheck then - generate_configheader() - end - -- check target toolchains if recheck then _check_target_toolchains() @@ -477,6 +471,12 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- config targets _config_targets() + + -- update the config files + generate_configfiles({force = recheck}) + if recheck then + generate_configheader() + end end -- dump config |
