News for hackers. Stuff that matters.

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%...

Re:Xmake: A modern C/C++ build tool on Sunday May 05, 2024 @08:55AM (#40264523)
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.

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.
you can also try xmake. It use lua, not DSL.

https://github.com/xmake-io/xmake

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.
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
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!
Oh, it seems to be a great terminal ui library.