buildmc-0.6.0
توضیحات
Pure-Python build ochestrator using CMake or Meson to configure+build via a single simple command.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | buildmc-0.6.0 |
| نام | buildmc |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael Hirsch, Ph.D. |
| ایمیل نویسنده | scivision@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/scivision/buildmc |
| آدرس اینترنتی | https://pypi.org/project/buildmc/ |
| مجوز | - |
[](https://zenodo.org/badge/latestdoi/190810341)
[](https://travis-ci.com/scivision/buildMC)
[](https://ci.appveyor.com/project/scivision/buildmc)
[](https://pypi.python.org/pypi/buildmc)
[](http://pepy.tech/project/buildmc)
# buildMC
A pure Python program that makes building a large, complicated project using CMake or Meson just a single, simple command.
## Install
Prereqs:
* Python ≥ 3.6
* CMake ≥ 3.14 _or_ Meson+Ninja
```sh
pip install buildmc
```
or to use latest development code
```sh
git clone https://github.com/scivision/buildmc
cd buildmc
pip install -e .
```
## Usage
buildMC makes switching between compilers trivial.
Also, building on native Windows and Windows Subsystem for Linux is detected and handled--the CMake or Meson cache is wiped to allow clean rebuild when switching without fuss.
### Examples
Say you want to ensure a project builds with each of Visual Studio, GNU/GCC, Intel and Clang.
This can be easily done by typing in the top-level of the project directory:
```sh
buildmc msvc
buildmc gnu
buildmc intel
buildmc clang
```
Each command independently builds and runs the user-configured tests using CMake or Meson.
When switching between Windows and Linux (using WSL from Windows) buildMC detects the OS switch and wipes the build cache and rebuilds as needed.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >= 3.6 | Python |
نحوه نصب
نصب پکیج whl buildmc-0.6.0:
pip install buildmc-0.6.0.whl
نصب پکیج tar.gz buildmc-0.6.0:
pip install buildmc-0.6.0.tar.gz