tree: 45218f0faba82a814d75c17d262e963f0fe7fb6b [search]
  1. check_build_options.py
  2. README.md
tools/check_build_options/README.md

check_build_options

Checks that the Meson build and the pkg-config files offer the same options as the CMake target, so that a new CMake option is not forgotten in one of them.

The compile definitions of the CMake target (target_compile_definitions in CMakeLists.txt) are the reference. When you add an option there, also add it to

Run the check with

make check_build_options

It needs only Python 3 and runs in the ci_meson_install CI job.