- Pythia 8
- fmt
- meson
- ninja
- StringSpinner is already included as a
git
submodule
Build using meson
. For example, let
$source_dir
be thisclas-stringspinner
source code directory (contains thisREADME.md
)$build_dir
be the build directory (will be created)$install_dir
be the installation destination, which must be an absolute path (will be created)
- Setup the build directory:
meson setup $build_dir $source_dir --prefix $install_dir
- Set build options (see Build Options section below); the defaults should be sufficient for most users, so this step is optional.
- Build and install:
meson install -C $build_dir
- Test:
meson test -C $build_dir
In addition to the built-in options, the following table shows the project options:
Option | Description |
---|---|
stringspinner:install_example |
Install the StringSpinner example |
For more details and current option values, run
meson configure $build_dir
To set a build option named opt
to value val
, run:
meson configure $build_dir -D opt=val