How to build in debug mode

This page explains how to build Xyst in debug mode.

How to build Xyst in debug mode

The default build type is release, which enables optimized code detecting the CPU type. To clone and build in debug mode do

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