diff options
| author | Arthur LAURENT <[email protected]> | 2024-07-21 16:48:40 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-07-21 16:48:40 +0200 |
| commit | e5ba7a1d14ef6f8afa2491b4dc0131169aaa4a76 (patch) | |
| tree | ef2bdc37b3522e626aefaa296f60493eba81a9a7 /xmake/core/project/policy.lua | |
| parent | 2412ed94e70b00b0c2f3bd8c4553828efd458b1b (diff) | |
add a policy to disable module culling
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 4b5ef9dae..2eb2c1193 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -72,6 +72,8 @@ function policy.policies() ["build.c++.modules"] = {description = "Enable C++ modules for C++ building.", type = "boolean"}, -- Enable std module ["build.c++.modules.std"] = {description = "Enable std modules.", default = true, type = "boolean"}, + -- Enable unreferenced and non-public named module culling + ["build.c++.modules.culling"] = {description = "Enable unrefereced and non-public named module culling.", default = true, type = "boolean"}, -- Try to reuse compiled module bmi file if targets flags permit it ["build.c++.modules.tryreuse"] = {description = "Try to reuse compiled module if possible.", default = true, type = "boolean"}, -- Enable module taking defines acbount for bmi reuse discrimination |
