diff options
| author | ruki <[email protected]> | 2026-02-07 00:52:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-07 00:52:20 +0800 |
| commit | 791292f2ee65a4ca8566c3e7a38cbcbf965ddd08 (patch) | |
| tree | b3d1bd6944c3e704828d904a0698fb8e44bf328d /xmake/core/project/policy.lua | |
| parent | 6007059c47a51d5847772fb68e357e4869ba85b3 (diff) | |
improve run policy and missing dll
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 4 |
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 |
