It also supports this syntax.
target("foo", {
kind = "binary",
files = { "src/*.cpp" },
includedirs = { "src" },
defines = { "FOO", "BAR=BAZ" },
})
https://xmake.io/guide/project-configuration/syntax-descript...HN user
It also supports this syntax.
target("foo", {
kind = "binary",
files = { "src/*.cpp" },
includedirs = { "src" },
defines = { "FOO", "BAR=BAZ" },
})
https://xmake.io/guide/project-configuration/syntax-descript...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)It can generate a Visual Studio project, then use the xmake CLI to integrate and compile the project, and supports debugging and IntelliSense.
https://xmake.io/guide/extensions/builtin-plugins.html#gener...
C++ Modules examples:
https://xmake.io/examples/cpp/cxx-modules.html
https://github.com/xmake-io/xmake/tree/dev/tests/projects/c%...
xmake also support D and dub.
we can also try xmake. https://github.com/xmake-io/xmake
Xmake can be used to directly build source code (like with Make or Ninja), or it can generate project source files like CMake or Meson. It also has a built-in package management system to help users integrate C/C++ dependencies.
try
wget https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gz
tar xf xmake-v2.6.5.tar.gz
make build
we need not run `cd xmake`no, it should be `v2.6.5/xmake-v2.6.5.tar.gz` instead of `tags/v2.6.5.tar.gz`
https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gzwe need pull all submodules, you can see https://xmake.io/#/guide/installation?id=installation
git submodule update --init
Or you can download full source code from releases. https://github.com/xmake-io/xmake/releases/download/v2.6.5/x...Xmake is also based on tbox as a c base library.
you can also try xmake. It use lua, not DSL.
We can also try https://github.com/xmake-io/xmake
Xmake has Clion/IDEA, vscode, vs, sublime and qtcreator plugin.
xmake can also easily write some lua scripts to dump the build dependency graph https://github.com/xmake-io/xmake
Interesting, what is the difference between it and other build tools, such as cmake, meson?
Great!
Oh, it seems to be a great terminal ui library.