summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-10 00:46:43 +0800
committerruki <[email protected]>2025-04-10 00:46:43 +0800
commitdb9a7049fbf5a870a167ee8b2683cc226dcaa55a (patch)
tree1beb55b2ea14dc787328132538c86fb316b0aeac
parent48275f817475b398b649f55054e2e60200dcd052 (diff)
enable build.autorun by default
-rw-r--r--xmake/core/project/project.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 7b42d47ea..956e3c41d 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -885,6 +885,7 @@ function project._init_default_policies()
if semver.compare(compatibility_version, "3.0") >= 0 then
policy.set_default("package.cmake_generator.ninja", true)
policy.set_default("build.c++.msvc.runtime", "MD")
+ policy.set_default("run.autobuild", true)
else
policy.set_default("package.cmake_generator.ninja", false)
policy.set_default("build.c++.msvc.runtime", "MT")