summaryrefslogtreecommitdiff
path: root/xmake/plugins/project
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-16 00:39:38 +0800
committerruki <[email protected]>2026-01-16 00:39:38 +0800
commit28b4ef6eaeac47cc1f7b5b40723d11d1578876d3 (patch)
tree5642dc2ac04eee1481a1c2583075816d7798da01 /xmake/plugins/project
parent2b5e122d83f3759340565acb753095a5370f676b (diff)
improve to project generator
Diffstat (limited to 'xmake/plugins/project')
-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()