Skip to content

In a Hurry

James Bradbury edited this page Jan 25, 2022 · 1 revision

...and you already have a development environment set up, understand CMake, and have the PD API (m_pd.h) available? And Python 3 + DocUtils + Jinja + PyYAML if you want docs?

Cool:

cmake -DPD_PATH=<location of your PD tree(see Dependencies below)> -DDOCS=<ON/OFF> .. make install This will assemble a package in release-packaging.

Also, with CMake you have a choice of which build system you use.

The default on macOS and Linux is Unix Makefiles. On macOS you can also use Xcode by passing -GXcode to CMake when you first run it. The default on Windows is the latest version of Visual Studio installed. However, Visual Studio can open CMake files directly as projects, which has some upsides. When used this way, CMake variables have to be set via a JSON file that MSVC will use to configure CMake.