diff options
| author | ruki <[email protected]> | 2023-02-04 10:32:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-04 10:32:59 +0800 |
| commit | 33f3591b69efa70eb77211cc7c937e0cde054de9 (patch) | |
| tree | 2e34856609d96aefd158433039b51289113128ce /xmake/core/project/policy.lua | |
| parent | 1d916603e8ab705f4af9b0a14d9fa2bfc620dfaf (diff) | |
add http header to package
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 1a466aa68..52f13c9b7 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -76,6 +76,8 @@ function policy.policies() ["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"}, + -- set custom headers when downloading package + ["package.download.http_headers"] = {description = "Set the custom http headers when downloading package."}, -- 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=` |
