summaryrefslogtreecommitdiff
path: root/xmake/core/project/policy.lua
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-05 22:48:58 +0300
committerSaikari <[email protected]>2026-02-05 22:48:58 +0300
commitbb7879934dca1ef7b26584f4dfadc29462d5a059 (patch)
tree3cdb88086027d96f6d3e12dea0038ae361709df4 /xmake/core/project/policy.lua
parent728ead07ff58cd9d8330075414cfe21b1034b757 (diff)
create policy besides pe parser
Diffstat (limited to 'xmake/core/project/policy.lua')
-rw-r--r--xmake/core/project/policy.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index 5123f0a5c..3f24d9a0f 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -34,6 +34,8 @@ 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.