Hacker GitHub

← All repos

xmake-io/xmake

View on GitHub ↗ ★ 12,286 Lua

🔥 A cross-platform build utility based on Lua

59 mentions on Hacker News by 16 people: 36 stories, 23 comments · first 2017-01-15 · latest 2026-04-09

Mentions per year 59 mentions · busiest year 2022 (15)
20082026
  1. The least painful C/C++ build tool I've used is xmake https://github.com/xmake-io/xmake The reason why I like it (beyond ease-of-use) is that it can spit out CMakeLists.txt and compile_commands.json for IDE/LSP integration and also…
  2. …C++ Modules examples: https://xmake.io/examples/cpp/cxx-modules.html https://github.com/xmake-io/xmake/tree/dev/tests/projects/c%...
  3. it has a feature to output such files, see https://github.com/xmake-io/xmake?tab=readme-ov-file#generat...
  4. ▲ 2
    Xmake v3.0.2 released, Improve C++ modules and new native thread support
    story by danny0z · 2025-09-04 · 0 comments
  5. ▲ 4
    Xmake v3.0 released, Improve C++ modules and jobgraph support
    story by danny0z · 2025-06-16 · 0 comments
  6. …[2] I have found the answer I was looking for. [1] https://en.wikipedia.org/wiki/Premake [2] https://github.com/xmake-io/xmake/discussions/1863
  7. ▲ 193
    Xmake: A cross-platform build utility based on Lua
    story by flexagoon · 2024-05-05 · 122 comments
  8. …to find "does xmake use xmake" since it's down in the src folder but here's a concrete example https://github.com/xmake-io/xmake/blob/v2.8.9/core/xmake.lua and https://github.com/xmake-io/xmake/blob/v2.8.9/core/src/xmake... but I couldn't…
    comment by mdaniel · 2024-03-22 · in An Introduction to Modern CMake
  9. 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…
  10. ▲ 17
    Xmake: A cross-platform build tool based on Lua
    story by pkkm · 2023-01-01 · 1 comment
  11. ▲ 5
    Xmake v2.7.3 Released
    story by todsacerdoti · 2022-11-08 · 0 comments
  12. ▲ 1
    Xmake v2.7.3 Released, Package Components and C++ Modules Incremental Build
    story by lanet11 · 2022-11-08 · 0 comments
  13. ▲ 1
    Xmake v2.7.2 released, build third party libraries more intelligently
    story by lanet11 · 2022-10-10 · 0 comments
  14. …c + lua is the perfect combination and I have developed a lua-based build system using them. https://github.com/xmake-io/xmake
    comment by rukiwang · 2022-08-11 · in A History of Lua (2001)
  15. 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`
  16. …Github’s problem, but the link I used is the one at the bottom of the list labeled “Source code”: https://github.com/xmake-io/xmake/releases/tag/v2.6.5 I see that one you mention in the middle of the list, with the name…
  17. 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
  18. > Or you can download full source code from releases. https://github.com/xmake-io/xmake/releases/download/v2.6.5/x ... Yes, that’s what I did. :-) wget https://github.com/xmake-io/xmake/archive/refs/tags/v2.6.5.tar.gz tar xf v2.6.5.tar.gz…
  19. …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...
  20. you can also try xmake. It use lua, not DSL. https://github.com/xmake-io/xmake
  21. We can also try https://github.com/xmake-io/xmake
  22. ▲ 2
    Xmake v2.6.5 released, Support remote compilation
    story by danny0z · 2022-04-25 · 1 comment
  23. ▲ 39
    Xmake and C/C++ Package Management
    story by danny0z · 2022-03-16 · 22 comments
  24. …They support all the major package repositories out of the box including Vcpkg and Conan. https://github.com/xmake-io/xmake#supported-package-reposito...
    comment by ampdepolymerase · 2022-03-08 · in C Package Manager
  25. xmake can also easily write some lua scripts to dump the build dependency graph https://github.com/xmake-io/xmake
  26. ▲ 4
    Xmake v2.5.9 Released, Improve C++20 Modules, Support Nim, MDK and Unity Build
    story by danny0z · 2021-11-02 · 0 comments
  27. ▲ 22
    Xmake v2.5.8 is released, Support Pascal Swig program and Lua53 runtime
    story by todsacerdoti · 2021-10-08 · 4 comments
  28. I prefer [XMake][1]. From my experience XMake > Meson > CMake. [1]: https://github.com/xmake-io/xmake
    comment by Royi · 2021-09-01 · in The Rise of Meson
  29. ▲ 2
    Xmake v2.5.7 released, Use lockfile to freeze package dependencies and Vala Met
    story by todsacerdoti · 2021-08-29 · 0 comments
  30. ▲ 1
    Xmake v2.5.6 released, Improve compatibility of pre-compiled binary package
    story by todsacerdoti · 2021-07-26 · 0 comments
  31. ▲ 2
    Xmake v2.5.5 released, Support to download and install precompiled packages
    story by todsacerdoti · 2021-07-01 · 0 comments
  32. ▲ 3
    Use xmake to build C/C++/Zig projects
    story by todsacerdoti · 2021-03-05 · 0 comments
  33. ▲ 2
    Xmake v2.5.2 released, Support pull remote cross toolchain and package integrat
    story by todsacerdoti · 2021-02-28 · 0 comments
  34. I prefer xmake https://github.com/xmake-io/xmake
  35. ▲ 2
    Xmake v2.3.9 released, Improve C/C++ package manager
    story by waruqi · 2020-11-26 · 0 comments
  36. ▲ 1
    Xmake v2.3.8 Released, Add Intel C++/Fortran Compiler Support
    story by waruqi · 2020-10-18 · 0 comments
  37. ▲ 1
    Xmake v2.3.7 released, Add tinyc and emscripten toolchains
    story by waruqi · 2020-09-15 · 0 comments
  38. ▲ 10
    Show HN: A cross-platform c/c++ build utility based on Lua
    story by waruqi · 2020-08-07 · 3 comments
  39. ▲ 8
    Xmake v2.3.6 released, Support Fortran compilation and go/dlang packages
    story by waruqi · 2020-07-29 · 0 comments
  40. ▲ 2
    Xmake v2.3.5 released, Multi toolchain flexible switching support
    story by waruqi · 2020-06-28 · 0 comments
  41. ▲ 2
    Xmake v2.3.4 released, Better toolchain support
    story by waruqi · 2020-06-08 · 0 comments
  42. The visual configuration menu used in xmake is ltui. xmake f --menu https://github.com/tboox/xmake
  43. ▲ 9
    Xmake v2.3.2 released, Build as fast as ninja
    story by waruqi · 2020-03-29 · 0 comments
  44. …arbitrary Lua using xmake, there is a built-in "lua" plugin, shorthand "xmake l", described here: https://github.com/xmake-io/xmake/blob/master/README.md#run-... So, it would be a bit like if you built a build language atop Python, but…
  45. Distributed builds are being planned, but not yet implemented. You can see https://github.com/xmake-io/xmake/issues/274
  46. ▲ 186
    Show HN: Xmake, a modern C/C++ build utility
    story by waruqi · 2019-04-09 · 183 comments
  47. ▲ 3
    A C/C++ cross-platform build utility based on Lua
    story by waruqi · 2018-12-30 · 0 comments
  48. ▲ 2
    C/C++ Remote package management and build
    story by waruqi · 2018-10-23 · 0 comments
  49. ▲ 1
    XMake: Add wdk compilation environment support
    story by waruqi · 2018-05-31 · 0 comments
  50. ▲ 3
    A cross-platform c/c++ build utility based on Lua
    story by waruqi · 2018-02-21 · 0 comments