Skip to main content

Pure-Python build ochestrator using CMake or Meson to configure+build via a single simple command.

Project description

DOI

Build Status Build status pypi versions PyPi Download stats

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
pip install buildmc

or to use latest development code

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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buildmc-0.6.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page