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
CMakeLists.txt (NLOHMANN_JSON_PKGCONFIG_CFLAGS),meson_options.txt, named without the JSON_ prefix and with the same default,meson.build (json_defines), anddocs/mkdocs/docs/integration/package_managers.md.Run the check with
make check_build_options
It needs only Python 3 and runs in the ci_meson_install CI job.