Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for buildmc, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size buildmc-0.6.0.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page