How to disable tests

This page explains how to build Xyst without unit-, and regression tests.

How to build Xyst without tests

By default the build system sets up the UnitTest executable target as well as configures regression tests which can be executed by ctest. To clone and build without tests do

git clone https://codeberg.org/xyst/xyst.git && cd xyst
mkdir build && cd build
cmake -DENABLE_TESTS=false ../src
make