diff options
| author | Saikari <[email protected]> | 2026-02-05 22:48:58 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-05 22:48:58 +0300 |
| commit | bb7879934dca1ef7b26584f4dfadc29462d5a059 (patch) | |
| tree | 3cdb88086027d96f6d3e12dea0038ae361709df4 /xmake/core/project/policy.lua | |
| parent | 728ead07ff58cd9d8330075414cfe21b1034b757 (diff) | |
create policy besides pe parser
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 2 |
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. |
