summaryrefslogtreecommitdiff
path: root/xmake/core/project/policy.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-07 00:52:20 +0800
committerruki <[email protected]>2026-02-07 00:52:20 +0800
commit791292f2ee65a4ca8566c3e7a38cbcbf965ddd08 (patch)
treeb3d1bd6944c3e704828d904a0698fb8e44bf328d /xmake/core/project/policy.lua
parent6007059c47a51d5847772fb68e357e4869ba85b3 (diff)
improve run policy and missing dll
Diffstat (limited to 'xmake/core/project/policy.lua')
-rw-r--r--xmake/core/project/policy.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index 3f24d9a0f..0fdd70831 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -34,8 +34,6 @@ function policy.policies()
local policies = policy._POLICIES
if not policies then
policies = {
- -- Enable/Disable Windows Error Reporting Dialogs
- ["run.gui_error_dialogs"] = {description = "Enable Windows Error Reporting Dialogs during execution.", default = false, type = "boolean"},
-- We will check and ignore all unsupported flags by default, but we can also pass `{force = true}` to force to set flags, e.g. add_ldflags("-static", {force = true})
["check.auto_ignore_flags"] = {description = "Enable check and ignore unsupported flags automatically.", default = true, type = "boolean"},
-- We will map gcc flags to the current compiler and linker by default.
@@ -129,6 +127,8 @@ function policy.policies()
["windows.manifest.uac.ui"] = {description = "Enable ui access for windows UAC.", type = "boolean"},
-- Automatically build before running
["run.autobuild"] = {description = "Automatically build before running.", type = "boolean"},
+ -- Enable/Disable Windows Error Reporting Dialogs
+ ["run.windows_error_dialog"] = {description = "Enable Windows Error Reporting Dialogs during execution.", default = false, type = "boolean"},
-- Enable install rpath
["install.rpath"] = {description = "Enable install rpath.", default = true, type = "boolean"},
-- Strip package libraries for installation