Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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")



Just as a heads up, you should probably remove the

  yaourt xmake
section of the install section (the Arch Linux instructions).

Yaourt is no longer actively maintained and poses security risks. Just linking to the AUR package is usually enough.


Ok, I will look at it. Thanks!


Using third party package repositories is a really, really smart move. This way you can expand the universe of available C++ packages by combining different package management systems. In my experience, Conan is already pretty solid. But if a package is not available in Conan, chances are it's available in Vcpkg.


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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: