> not have `target("name", function (ctx) ... end)`.
It supports this syntax.
https://xmake.io/guide/project-configuration/syntax-descript...
target("foo", function ()
set_kind("binary")
add_files("src/*.cpp")
add_defines("FOO")
end)