1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-05 20:41:47 +02:00

Mesonify other external API

This commit is contained in:
John Ericson 2024-06-27 10:19:03 -04:00
parent 31257009e1
commit 4fa8068b78
12 changed files with 392 additions and 40 deletions

View file

@ -132,13 +132,13 @@ deps_public += nlohmann_json
config_h = configure_file(
configuration : configdata,
output : 'config-util.h',
output : 'config-util.hh',
)
add_project_arguments(
# TODO(Qyriad): Yes this is how the autoconf+Make system did it.
# It would be nice for our headers to be idempotent instead.
'-include', 'config-util.h',
'-include', 'config-util.hh',
'-Wno-deprecated-declarations',
'-Wimplicit-fallthrough',
'-Werror=switch',