diff options
| author | ruki <[email protected]> | 2022-09-06 00:31:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-06 00:31:10 +0800 |
| commit | 80ad4a0ad0f0265654e1cf98c059f8d86ac28dc0 (patch) | |
| tree | 1e7c21d90886e842f08075a4d0b731dbc0b2ec81 /xmake/core/project/policy.lua | |
| parent | 2eabe3a9efd3ca4eaa4cbac769fbca6a6192af81 (diff) | |
check linkdeps compatibility
Diffstat (limited to 'xmake/core/project/policy.lua')
| -rw-r--r-- | xmake/core/project/policy.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua index 0509fcae8..f2cb546bd 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -71,9 +71,10 @@ function policy.policies() ["package.include_external_headers"] = {description = "Use includes as external headers.", type = "boolean"}, -- inherit the configs from the external command arguments, e.g. toolchains, `xmake f --toolchain=` ["package.inherit_external_configs"] = {description = "Inherit the configs from the external command arguments.", default = true, type = "boolean"}, - -- set version compatibility, if false, then new versions are always incompatible with older versions, - -- all packages that depend on it will generate a new buildhash, @see https://github.com/xmake-io/xmake/issues/2719 - ["package.version_compatibility"] = {description = "Set package version compatibility.", default = true, type = "boolean"}, + -- set strict compatibility for package dependencies + -- if true, then any updates to linked dependencies, such as buildhash changes due to version changes, + -- will force the installed packages to be recompiled and installed. @see https://github.com/xmake-io/xmake/issues/2719 + ["package.linkdeps.strict_compatibility"] = {description = "Set strict compatibility for package dependencies.", type = "boolean"}, } policy._POLICIES = policies end |
