@@ -18,8 +18,8 @@ Of course, we can also configure them completely by ourselves without using the
```lua [xmake.lua]
target("test")
-set_kind("binary")
-add_files("src/*.cpp")
+ set_kind("binary")
+ add_files("src/*.cpp")
```
## Configure macro definition {#configure-defines}
@@ -364,14 +364,6 @@ target("lib")
set_symbols("hidden") -- 隐藏符号,减少导出表大小
-### 设置可见性级别
-
-```lua
-target("lib")
- set_kind("shared")
- set_visibility("hidden") -- 设置默认可见性为隐藏
-```
## 目标优化配置 {#configure-target-optimization}
### 设置优化级别