It also supports this syntax.
target("foo", { kind = "binary", files = { "src/*.cpp" }, includedirs = { "src" }, defines = { "FOO", "BAR=BAZ" }, })
That's what I meant: the first you can do, the second, not.