diff options
| author | ruki <[email protected]> | 2020-06-22 22:57:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-22 11:44:26 +0800 |
| commit | f78cbc917b997ffaee1f4663472064d5d9515760 (patch) | |
| tree | 78ba8f204ed0992292c171ee385b3f39fa1c662e /xmake/actions/require/impl/package.lua | |
| parent | e890b1203d110f8b66cb61da6699bdc19e1b5651 (diff) | |
add kind config for package
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index 9bc25e3a4..c0f7f7d0e 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -139,6 +139,7 @@ function _parse_require(require_str, requires_extra, parentinfo) version = version, plat = require_extra.plat, -- require package in the given platform arch = require_extra.arch, -- require package in the given architecture + kind = require_extra.kind, -- default: library, set package kind, e.g. binary, library, we can set `kind = "binary"` to only detect binary program and ignore library. alias = require_extra.alias, -- set package alias name group = require_extra.group, -- only uses the first package in same group system = require_extra.system, -- default: true, we can set it to disable system package manually |
