3 ms·
Xmake has its own package management repository.https://github.com/xmake-io/xmake-repo https://github.com/xmake-io/xmake-repo And it also supports self-built d
by waruqi 7y ago
Xmake has its own package management repository.https://github.com/xmake-io/xmake-repo 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")
- derin 7y agoJust 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.
- waruqi 7y agoOk, I will look at it. Thanks!
- jchw 7y agoInteresting. 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?
- alexeiz 7y agoUsing 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.