diff options
| author | Arthur LAURENT <[email protected]> | 2023-01-11 17:31:14 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2023-01-11 17:31:14 +0100 |
| commit | 98e4399340bca560915c8faef19a632840046a0e (patch) | |
| tree | 5d998779c531c71bcc2e2151110999bef403df83 /xmake/core/project/policy.lua | |
| parent | a70a59a68f39d9c9ba3538baa94dcce6132f1241 (diff) | |
use policies instead of target values
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 8148a37e2..ac93415f9 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -35,6 +35,8 @@ function policy.policies() if not policies then policies = { + -- enable clang std modulemap + ["c++.clang.module.stdmodules"] = {description = "Enable clang std modulemap.", 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. |
