diff options
| author | ruki <[email protected]> | 2019-08-31 20:44:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-31 20:44:07 +0800 |
| commit | f4f94d8e5bbbe2d5acf2bac99bdb12d80f3b9f47 (patch) | |
| tree | 8d1ca3fe8cb290d58960fa164bb074788c91b432 | |
| parent | f14db9813059078fa141fc285245009667f775f6 (diff) | |
add builtin shared config for package
| -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 7f56fa7c2..929397f8a 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -206,6 +206,7 @@ end -- add some builtin configurations to package function _add_package_configurations(package) package:add("configs", "debug", {builtin = true, description = "Enable debug symbols.", default = false, type = "boolean"}) + package:add("configs", "shared", {builtin = true, description = "Enable shared library.", default = false, type = "boolean"}) package:add("configs", "cflags", {builtin = true, description = "Set the C compiler flags."}) package:add("configs", "cxflags", {builtin = true, description = "Set the C/C++ compiler flags."}) package:add("configs", "cxxflags", {builtin = true, description = "Set the C++ compiler flags."}) |
