summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-16 09:22:41 +0800
committerGitHub <[email protected]>2026-01-16 09:22:41 +0800
commit99b87757859e318b96bc6074e0a3686e38e6f0a1 (patch)
tree5642dc2ac04eee1481a1c2583075816d7798da01 /xmake/plugins
parentb8c02f4d81b0aceb976401f3ce20605f4ee775cb (diff)
parent28b4ef6eaeac47cc1f7b5b40723d11d1578876d3 (diff)
Merge pull request #7226 from xmake-io/tidy
Improve to find clang-tidy
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/main.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/plugins/project/main.lua b/xmake/plugins/project/main.lua
index d48f6662d..d6741a711 100644
--- a/xmake/plugins/project/main.lua
+++ b/xmake/plugins/project/main.lua
@@ -87,8 +87,9 @@ function main()
-- in project generator?
os.setenv("XMAKE_IN_PROJECT_GENERATOR", "true")
- -- config it first
- task.run("config")
+ -- load config first
+ -- @note When generating project configuration files, we should not modify the configuration and cache.
+ task.run("config", {}, {loadonly = true})
-- post statistics
statistics.post()