diff options
| author | ruki <[email protected]> | 2022-10-10 22:37:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-10-10 22:37:39 +0800 |
| commit | a9e8492bcc68823067d805a7ee666e99c08ad02f (patch) | |
| tree | 9bff8e4f5d3f0a77a4df0eb508584c952a057e89 /xmake/core/project/policy.lua | |
| parent | 4eab4583144dd0319c33431a557a06905c811ef5 (diff) | |
add package.install_always policy
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 f3c29ff54..8148a37e2 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -67,6 +67,8 @@ function policy.policies() ["package.fetch_only"] = {description = "Only fetch packages on system.", type = "boolean"}, -- only install packages from remote ["package.install_only"] = {description = "Only install packages from remote.", type = "boolean"}, + -- always install packages every time + ["package.install_always"] = {description = "Always install packages every time.", type = "boolean"}, -- use includes as external header files? e.g. -isystem .. ["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=` |
