Metadata-Version: 2.4
Name: xmake-wheel
Version: 3.0.0
Summary: A cross-platform build utility based on Lua
Keywords: xmake
Author-email: ruki <waruqi@gmail.com>
Description-Content-Type: text/markdown
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Project-URL: Bug Report, https://github.com/xmake-io/xmake-wheel/issues
Project-URL: Download, https://github.com/xmake-io/xmake-wheel/releases
Project-URL: Homepage, https://xmake.io/
Project-URL: Source, https://github.com/xmake-io/xmake-wheel

# xmake packages for some package managers

## [PYPI](https://pypi.org/project/xmake-wheel)

It mainly is used by [xmake-python](https://github.com/xmake-io/xmake-python).

```sh
pip install xmake-wheel
xmake --help
```

### Python Wheels

List some related wheels which provide binary programs.

#### Build Systems

- [cmake-python-distributions](https://github.com/scikit-build/cmake-python-distributions)
- [ninja-python-distributions](https://github.com/scikit-build/ninja-python-distributions)

#### Linters

- [cppcheck-wheel](https://github.com/msclock/cppcheck-wheel)

#### Formatters

- [astyle-wheel](https://github.com/Freed-Wu/astyle-wheel)
- [clang-format-wheel](https://github.com/ssciwr/clang-format-wheel)

#### Misc

- [patchelf-pypi](https://github.com/mayeut/patchelf-pypi): used by
  [cibuildwheel](https://github.com/pypa/cibuildwheel)
- [nodejs-wheel](https://pypi.org/project/nodejs-wheel)

## [npmjs.org](https://www.npmjs.com/package/xmake-build-system)

We publish xmake to npm for convenience of building nodejs module by xmake.

Compared to other solutions:

- [node-gyp](https://github.com/nodejs/node-gyp): builtin build system of
  nodejs. However, it depends on python, which is too large. and gyp doesn't
  [support Cygwin/Msys2/MinGW](https://github.com/nodejs/node-gyp/issues/1240)
  until now, which means you cannot build nodejs module for
  [mingw-w64-nodejs](https://packages.msys2.org/base/mingw-w64-nodejs).
- [cmake-js](https://github.com/cmake-js/cmake-js): CMake have a good ecosystem.
  even for nodejs module. However, it needs
  [extra settings](https://github.com/napi-bindings/node-api-stub/) to
  [build nodejs module for mingw-w64-nodejs](https://github.com/nodejs/node-addon-api/issues/1021).
- [zig-build](https://github.com/solarwinds/zig-build): a new build system for
  nodejs module. It uses `zig cc` as compiler, not your OS's. notice its
  [caveats](https://github.com/solarwinds/zig-build#caveats).

examples:

- [1_hello_world](examples/nodejs/1_hello_world): use this project to replace
  [node-gyp](https://github.com/nodejs/node-gyp)
- [coc-rime](https://github.com/tonyfettes/coc-rime): use
  [pkg-prebuilds](https://github.com/julusian/pkg-prebuilds) to replace
  [prebuildify](https://github.com/prebuild/prebuildify)

## [luarocks.org](https://luarocks.org/modules/Freed-Wu/xmake/)

Refer [luarocks-build-xmake](https://github.com/xmake-io/luarocks-build-xmake).

Notice luarocks.org doesn't host
[binary rock files](https://github.com/luarocks/luarocks/wiki/Hosting-binary-rocks).
so if you add `xmake` to `build-dependencies`, you still have to tolerate
troublesome of building xmake.

