Live data from Hacker News

Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

xmake.io

1–10 of 57 posts

Re: Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

#2
Xmake has its own package management repository.https://github.com/xmake-io/xmake-repo

And it also supports self-built distributed repositories and third-party repositories (e.g. vcpkg, conan, clib, homebrew).

  add_requires("libuv master", "ffmpeg", "zlib 1.20.*")
  add_requires("tbox >1.6.1", {optional = true, debug = true})
  target("test")
    set_kind("shared")
    add_files("src/*.c")
    add_packages("libuv", "ffmpeg", "tbox", "zlib")

Re: Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

#3
post #2

Xmake has its own package management repository. https://github.com/xmake-io/xmake-repo And it also supports self-built distributed repositories and third-party repositories (e.g. vcpkg, conan, clib, homebrew). add_requires("libuv master", "ffmpeg", "zlib 1.20.*") add_requires("tbox >1.6.1", {optional = true, debug = true}) target("test") set_kind("shared") add_files("src/*.c") add_packages("libuv", "ffmpeg", "tbox",…

Interesting.

Visually, it looks a lot like Meson's Mesonfile syntax, in some ways.

Does the indentation have semantic meaning at all, or is it just to convey a hierarchy?

Re: Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

#5
post #3
post #2

Xmake has its own package management repository. https://github.com/xmake-io/xmake-repo And it also supports self-built distributed repositories and third-party repositories (e.g. vcpkg, conan, clib, homebrew). add_requires("libuv master", "ffmpeg", "zlib 1.20.*") add_requires("tbox >1.6.1", {optional = true, debug = true}) target("test") set_kind("shared") add_files("src/*.c") add_packages("libuv", "ffmpeg", "tbox",…

Interesting. Visually, it looks a lot like Meson's Mesonfile syntax, in some ways. Does the indentation have semantic meaning at all, or is it just to convey a hierarchy?

No, the indentation is for human readability only.

Re: Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

#8
post #7

Why not Python? Syntax is much cleaner and there’s nothing you can’t achieve. Even performance is on par.

Python as in Scons? Otherwise I don't understand your comment.

Scons is effectively dead, and I wish people would start removing it from the Python build systems web pages.

Meson is written in Python and isn't dead. However, Meson requires a partner to actually build things--something like cmake or ninja.

However, I think the original poster meant "Why Lua instead of Python?" And the only real answer is "Because that's what the author wanted to use."

Re: Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

#9
post #5
post #3

Earlier quoted context omitted.

Interesting. Visually, it looks a lot like Meson's Mesonfile syntax, in some ways. Does the indentation have semantic meaning at all, or is it just to convey a hierarchy?

No, the indentation is for human readability only.

Yes.

Re: Show HN: A Modern C/C++ build tools (Simple, Fast, Cross-platform)

#10

Why not Python? Syntax is much cleaner and there’s nothing you can’t achieve. Even performance is on par.

Xmake built-in luajit, without any external dependencies, can be used after installation, although most distributions have built-in python, but there are still many systems that do not install python by default, such as windows.

Also I don't like the syntax of python

Post reply on HN