How do I configure the project?

Table of Contents

For the preset menu and what each axis means, see CMake setup.

Question

How do I configure ORE Studio with CMake?

Answer

From the project root, pick a preset and configure with it:

cmake --preset linux-clang-debug-ninja

For a release build:

cmake --preset linux-clang-release-ninja

Configure once per preset; the preset's build directory is created at build/output/<preset>/. To list available presets see How do I list available presets?.

Re-configuring with options

To enable test logging or any other option, pass -D<NAME>=<VALUE> to the same command. The build directory is reused; CMake re-configures in place:

cmake --preset linux-clang-debug-ninja -DORES_TEST_LOG_LEVEL=debug

Script

The commands above. No wrapper.

Tested by

CI workflows configure every preset on every push.

See also

Emacs 29.1 (Org mode 9.6.6)