summaryrefslogtreecommitdiff
path: root/xmake/core/project/policy.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-09-13 21:02:12 +0800
committerruki <[email protected]>2024-09-13 21:02:12 +0800
commit252dbbe8a9c57e096f44c964d2b4dae2ea822c26 (patch)
tree4c896d44761df896c3b1ed5e01e3ae35d5eda736 /xmake/core/project/policy.lua
parentdecc680dfd4f703b072664433e177673c027c903 (diff)
add install.strip_packagelibs
Diffstat (limited to 'xmake/core/project/policy.lua')
-rw-r--r--xmake/core/project/policy.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index 3e02d210d..7327918a2 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -100,6 +100,8 @@ function policy.policies()
["run.autobuild"] = {description = "Automatically build before running.", type = "boolean"},
-- Enable install rpath
["install.rpath"] = {description = "Enable install rpath.", default = true, type = "boolean"},
+ -- Strip package libraries for installation
+ ["install.strip_packagelibs"] = {description = "Strip package libraries for installation.", default = true, type = "boolean"},
-- Preprocessor configuration for ccache/distcc, we can disable linemarkers to speed up preprocess
["preprocessor.linemarkers"] = {description = "Enable linemarkers for preprocessor.", default = true, type = "boolean"},
-- Preprocessor configuration for ccache/distcc, we can disable it to avoid cache object file with __DATE__, __TIME__