danny0z
Re:Xmake: A cross-platform build utility based on Lua
on Thursday January 29, 2026 @11:09AM (#46812138)
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...
Re:Xmake: A cross-platform build utility based on Lua
on Thursday January 29, 2026 @09:53AM (#46810977)
> 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)
Re:Xmake: A cross-platform build utility based on Lua
on Thursday January 29, 2026 @04:57AM (#46807968)
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 v3.0 released, Improve C++ modules and jobgraph support
Re:Xmake: A modern C/C++ build tool
on Sunday May 05, 2024 @08:55AM (#40264523)
xmake also support D and dub.
Show HN: A cross-platform C/C++ package manager based on Xmake
Re:Everything You Never Wanted to Know About CMake (Redux)
on Monday June 26, 2023 @05:33AM (#36477590)
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.
Re:Show HN: A glib-like multi-platform C library
on Tuesday May 03, 2022 @08:50AM (#31247633)
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`
Re:Show HN: A glib-like multi-platform C library
on Tuesday May 03, 2022 @08:35AM (#31247513)
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.gz
Re:Show HN: A glib-like multi-platform C library
on Tuesday May 03, 2022 @08:28AM (#31247445)
we 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...
Re:Show HN: A glib-like multi-platform C library
on Tuesday May 03, 2022 @08:11AM (#31247319)
Xmake is also based on tbox as a c base library.
Re:Strengths, weaknesses, opportunities, and threats facing the GNU Au...
on Tuesday May 03, 2022 @06:34AM (#31246695)
you can also try xmake. It use lua, not DSL.
Re:Qb – Zero-configuration build system to quickly build C/C++ projects
on Tuesday May 03, 2022 @06:32AM (#31246680)
We can also try https://github.com/xmake-io/xmake
Show HN: A glib-like multi-platform C library
Xmake v2.6.5 released, Support remote compilation
Re:Xmake and C/C++ Package Management
on Saturday March 19, 2022 @09:09PM (#30739063)
Xmake has Clion/IDEA, vscode, vs, sublime and qtcreator plugin.
Xmake and C/C++ Package Management
A new C/C++ package manager wrapper for CMake
Re:Proposal to add build graph output to GNU Make (2020)
on Monday January 10, 2022 @07:31AM (#29873795)
xmake can also easily write some lua scripts to dump the build dependency graph https://github.com/xmake-io/xmake
Xmake v2.5.9 Released, Improve C++20 Modules, Support Nim, MDK and Unity Build
Re:Show HN: A cross-platform c/c++ build utility based on Lua
on Thursday August 06, 2020 @08:46PM (#24076887)
Interesting, what is the difference between it and other build tools, such as cmake, meson?
Re:Lacc: A simple, self-hosting C compiler
on Thursday August 06, 2020 @08:33PM (#24076834)
Great!
Re:LTUI – A cross platform terminal UI library based on Lua
on Thursday May 07, 2020 @05:44AM (#23101268)
Oh, it seems to be a great terminal ui library.