xmake-trybuild
Installation
SKILL.md
Xmake TryBuild — Drive Third-Party Build Systems
trybuild lets xmake invoke another build system (CMake, Autotools, Meson, …) while still providing its own platform/toolchain detection, cross-compile support, and incremental-build wrappers. Use it when you need to build an upstream project that doesn't use xmake.lua, but still want xmake's cross-compilation ergonomics.
Supported backends
--trybuild= |
Backend |
|---|---|
autotools |
./configure + make (cross-compile supported) |
cmake |
cmake + generator (cross-compile supported) |
meson |
meson + ninja |
ninja |
direct ninja |
make |
make / Makefile |
msbuild |
Visual Studio MSBuild |
xcodebuild |
Xcode CLI builds |
scons |
SCons |
bazel |
Bazel |
ndkbuild |
Android NDK ndk-build |