diff options
| author | ruki <[email protected]> | 2024-12-04 22:33:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-12-04 22:33:44 +0800 |
| commit | 34ee1cb9ceeec762cf986dc23a68d466e100e6e2 (patch) | |
| tree | 22cb8fee5292c0cc2f5b18a763b621f9b51c4fa4 /xmake/core/project/policy.lua | |
| parent | b580caf8121ca38ef4413f428bd9b5cb0277695a (diff) | |
add package.sync_requires_to_deps policy
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua index 0646bd3bc..b20a576b4 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -139,6 +139,9 @@ function policy.policies() -- Resolve package dependencies conflict automatically -- @see https://github.com/xmake-io/xmake/issues/5745 ["package.resolve_depconflict"] = {description = "Automatically resolve package dependencies conflict.", default = true, type = "boolean"}, + -- Synchronize add_requires configuration in toplevel to all package dependencies for this package + -- @see https://github.com/xmake-io/xmake/issues/5745 + ["package.sync_requires_to_deps"] = {description = "Synchronize requires configuration to all package dependencies.", default = false, type = "boolean"}, -- Automatically passes dependency configuration for inner xmake package -- @see https://github.com/xmake-io/xmake/issues/3952 ["package.xmake.pass_depconfs"] = {description = "Automatically passes dependency configuration for inner xmake package", default = true, type = "boolean"}, |
