diff options
| author | zhu-rong <[email protected]> | 2024-04-25 15:48:16 +0800 |
|---|---|---|
| committer | zhu-rong <[email protected]> | 2024-04-25 15:49:43 +0800 |
| commit | 83b2f487b643423fbd3d78207105c8dbaf9d0ced (patch) | |
| tree | 47031c798c382dca8be5f7cff05127e9667be95a /xmake/core/project/policy.lua | |
| parent | 979023e54bc5d11db19c0df7e181c3824f18dc41 (diff) | |
add "build.fence" policy for block job build
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 e99f02caf..4e495e449 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -40,6 +40,8 @@ function policy.policies() ["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"}, + -- Provide a way to block all targets build that depends on self + ["build.fence"] = {description = "Block all targets build that depends on self.", default = false, 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"}, -- Merge archive intead of linking for all dependent targets |
