Structure Lua Format 结构化语法 #6751
baka-gourd
started this conversation in
Ideas
Replies: 1 comment
-
原本就支持,但这种基本没人用,局限性太多,对于一些简短的 option 配置,可以用这种方式简化。 target("demo", {
kind = "binary",
files = "src/*.c"
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
当前语法与 CMake 类似,使用时层级关系没有很清晰。我觉得可以使用lua内置的table来表达一个target的结构,能够更加简洁和有层级,并且是完全合法的lua。仅提出讨论
Beta Was this translation helpful? Give feedback.
All reactions