xmake-private-packages

Installation
SKILL.md

Private Packages & Repository Distribution

This skill covers distributing C/C++ libraries as xmake packages — i.e. consumable via add_requires("mylib") in a downstream project. Three scenarios:

  1. Local packagexmake package emits a directory of prebuilt binaries + a tiny xmake.lua repo you can share over NFS/file share.
  2. Remote source package — a private git repo containing recipes that fetch source (usually from another private git repo) and build on demand.
  3. Remote binary package — private git repo of recipes that download a pre-built tarball (no source leak, fast install).

All three reuse xmake's standard add_requires / add_packages integration on the consumer side — you just swap the repository URL.

1. Prepare the library project

-- library project: xmake.lua
add_rules("mode.debug", "mode.release")
Installs
4
GitHub Stars
16
First Seen
Apr 29, 2026
xmake-private-packages — xmake-io/xmake-skills