-- uses the packages tbox, libpng and zlib -- xmake will download and install them for you add_requires("tbox 1.6.*", "libpng ~1.16", "zlib") target("test") set_kind("binary") add_files("src/*.c") add_packages("tbox", "libpng", "zlib") -- all available packages are on the following repository -- https://github.com/xmake-io/xmake-repo/tree/dev/packages