Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.6 KB

setup.md

File metadata and controls

47 lines (38 loc) · 1.6 KB

Setup Guide

Dependencies

Building

Build using meson. For example, let

  • $source_dir be this clas-stringspinner source code directory (contains this README.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)
  1. Setup the build directory:
meson setup $build_dir $source_dir --prefix $install_dir
  1. Set build options (see Build Options section below); the defaults should be sufficient for most users, so this step is optional.
  2. Build and install:
meson install -C $build_dir
  1. Test:
meson test -C $build_dir

Build options

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