WIP
Refer xmake-python.
List some related wheels which provide binary programs.
- patchelf-pypi: used by cibuildwheel
- nodejs-wheel
We publish xmake to npm for convenience of building nodejs module by xmake.
Compared to other solutions:
- node-gyp: builtin build system of nodejs. However, it depends on python, which is too large. and gyp doesn't support Cygwin/Msys2/MinGW until now, which means you cannot build nodejs module for mingw-w64-nodejs.
- cmake-js: CMake have a good ecosystem. even for nodejs module. However, it needs extra settings to build nodejs module for mingw-w64-nodejs.
- zig-build: a new build system for
nodejs module. It uses
zig cc
as compiler, not your OS's. notice its caveats.
examples:
Refer luarocks-build-xmake.
Notice luarocks.org doesn't host
binary rock files.
so if you add xmake
to build-dependencies
, you still have to tolerate
troublesome of building xmake.