@@ -529,5 +529,14 @@ Simplified to:
target("demo", {kind = "binary", files = "src/*.c"})
```
+or
+
+```lua
+target("demo", {
+ kind = "binary",
+ files = "src/*.c"
+})
+```
Of course, if the configuration requirements are more complicated, or the original multi-line setting method is more convenient, this depends on your own needs to evaluate which method is used.
@@ -529,5 +529,14 @@ target("demo")
+或者
当然,如果配置需求比较复杂的,还是原有的多行设置方式更加方便,这个就看自己的需求来评估到底使用哪种方式了。