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 Python 3 + DocUtils + Jinja + PyYAML if you want docs?

Cool:

mkdir -p build && cd build
cmake -DDOCS=<ON/OFF(default)> ..
make install

This will assemble a package in release-packaging.

An alternative to setting up / running CMake directly on the command line is to install the CMake GUI, or use to use the curses GUI ccmake.

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.

Alternatively, flucoma-cli is now on the AUR / Arch User Repository and can now be compiled and downloaded by executing:

yay -S flucoma-cli-git

on Arch Linux and Manjaro (with thanks to @madskjeldgaard)