diff options
| author | ruki <[email protected]> | 2020-11-08 19:18:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-08 19:18:52 +0800 |
| commit | da3c6af9d6584593311313c2ced57c1a39fff5ae (patch) | |
| tree | 9226e6b74b8a7e7f1a68804e3c29d9f6b8f36cff /xmake/core/project/policy.lua | |
| parent | ea6afc015b3c3f391761ba13a03c966daedd6db4 (diff) | |
add license checking
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 bf2899d69..004bee33e 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -39,6 +39,8 @@ function policy.policies() ["check.auto_ignore_flags"] = {description = "Enable check and ignore unsupported flags automatically.", default = true, type = "boolean"}, -- we will map gcc flags to the current compiler and linker by default. ["check.auto_map_flags"] = {description = "Enable map gcc flags to the current compiler and linker automatically.", default = true, type = "boolean"}, + -- we will check the compatibility of target and package licenses + ["check.target_package_licenses"] = {description = "Enable check the compatibility of target and package licenses.", default = true, type = "boolean"}, -- we can compile the source files for each target in parallel ["build.across_targets_in_parallel"] = {description = "Enable compile the source files for each target in parallel.", default = true, type = "boolean"} } |
