mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Dedup
This commit is contained in:
parent
8198888bc4
commit
8399bd6b8f
16
meson-utils/diagnostics/meson.build
Normal file
16
meson-utils/diagnostics/meson.build
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
add_project_arguments(
|
||||||
|
'-Wno-deprecated-declarations',
|
||||||
|
'-Wimplicit-fallthrough',
|
||||||
|
'-Werror=switch',
|
||||||
|
'-Werror=switch-enum',
|
||||||
|
'-Werror=unused-result',
|
||||||
|
'-Wdeprecated-copy',
|
||||||
|
'-Wignored-qualifiers',
|
||||||
|
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
||||||
|
# at ~1% overhead in `nix search`.
|
||||||
|
#
|
||||||
|
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
||||||
|
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
||||||
|
'-D_GLIBCXX_ASSERTIONS=1',
|
||||||
|
language : 'cpp',
|
||||||
|
)
|
@ -50,21 +50,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-include', 'config-store.h',
|
'-include', 'config-store.h',
|
||||||
'-include', 'config-expr.h',
|
'-include', 'config-expr.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nix_api_expr.cc',
|
'nix_api_expr.cc',
|
||||||
'nix_api_external.cc',
|
'nix_api_external.cc',
|
||||||
|
@ -36,21 +36,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
'-include', 'config-expr.hh',
|
'-include', 'config-expr.hh',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'tests/value/context.cc',
|
'tests/value/context.cc',
|
||||||
)
|
)
|
||||||
|
@ -48,21 +48,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-include', 'config-store.h',
|
'-include', 'config-store.h',
|
||||||
'-include', 'config-expr.h',
|
'-include', 'config-expr.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'derived-path.cc',
|
'derived-path.cc',
|
||||||
'error_traces.cc',
|
'error_traces.cc',
|
||||||
|
@ -66,22 +66,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
# '-include', 'config-fetchers.h',
|
# '-include', 'config-fetchers.h',
|
||||||
'-include', 'config-expr.hh',
|
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
parser_tab = custom_target(
|
parser_tab = custom_target(
|
||||||
input : 'parser.y',
|
input : 'parser.y',
|
||||||
output : [
|
output : [
|
||||||
|
@ -45,21 +45,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-include', 'config-store.h',
|
'-include', 'config-store.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'public-key.cc',
|
'public-key.cc',
|
||||||
)
|
)
|
||||||
|
@ -38,22 +38,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
# '-include', 'config-fetchers.h',
|
# '-include', 'config-fetchers.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Werror=unused-result',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'attrs.cc',
|
'attrs.cc',
|
||||||
'cache.cc',
|
'cache.cc',
|
||||||
|
@ -49,21 +49,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-include', 'config-store.h',
|
'-include', 'config-store.h',
|
||||||
'-include', 'config-expr.h',
|
'-include', 'config-expr.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'flakeref.cc',
|
'flakeref.cc',
|
||||||
'url-name.cc',
|
'url-name.cc',
|
||||||
|
@ -39,21 +39,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
# '-include', 'config-fetchers.h',
|
# '-include', 'config-fetchers.h',
|
||||||
'-include', 'config-expr.hh',
|
'-include', 'config-expr.hh',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'flake-settings.cc',
|
'flake-settings.cc',
|
||||||
'flake/config.cc',
|
'flake/config.cc',
|
||||||
|
@ -46,21 +46,11 @@ add_project_arguments(
|
|||||||
# From C libraries, for our public, installed headers too
|
# From C libraries, for our public, installed headers too
|
||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-include', 'config-store.h',
|
'-include', 'config-store.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nix_api_store.cc',
|
'nix_api_store.cc',
|
||||||
)
|
)
|
||||||
|
@ -33,21 +33,11 @@ add_project_arguments(
|
|||||||
# It would be nice for our headers to be idempotent instead.
|
# It would be nice for our headers to be idempotent instead.
|
||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'tests/derived-path.cc',
|
'tests/derived-path.cc',
|
||||||
'tests/outputs-spec.cc',
|
'tests/outputs-spec.cc',
|
||||||
|
@ -43,21 +43,11 @@ add_project_arguments(
|
|||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-include', 'config-store.h',
|
'-include', 'config-store.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'common-protocol.cc',
|
'common-protocol.cc',
|
||||||
'content-address.cc',
|
'content-address.cc',
|
||||||
|
@ -150,22 +150,11 @@ add_project_arguments(
|
|||||||
# It would be nice for our headers to be idempotent instead.
|
# It would be nice for our headers to be idempotent instead.
|
||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-include', 'config-store.hh',
|
'-include', 'config-store.hh',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Werror=unused-result',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'binary-cache-store.cc',
|
'binary-cache-store.cc',
|
||||||
'build-result.cc',
|
'build-result.cc',
|
||||||
|
@ -42,22 +42,11 @@ add_project_arguments(
|
|||||||
|
|
||||||
# From C libraries, for our public, installed headers too
|
# From C libraries, for our public, installed headers too
|
||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Werror=unused-result',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nix_api_util.cc',
|
'nix_api_util.cc',
|
||||||
)
|
)
|
||||||
|
@ -30,22 +30,11 @@ add_project_arguments(
|
|||||||
# TODO(Qyriad): Yes this is how the autoconf+Make system did it.
|
# TODO(Qyriad): Yes this is how the autoconf+Make system did it.
|
||||||
# It would be nice for our headers to be idempotent instead.
|
# It would be nice for our headers to be idempotent instead.
|
||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Werror=unused-result',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'tests/hash.cc',
|
'tests/hash.cc',
|
||||||
'tests/string_callback.cc',
|
'tests/string_callback.cc',
|
||||||
|
@ -38,22 +38,11 @@ add_project_arguments(
|
|||||||
# It would be nice for our headers to be idempotent instead.
|
# It would be nice for our headers to be idempotent instead.
|
||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-include', 'config-util.h',
|
'-include', 'config-util.h',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Werror=unused-result',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'args.cc',
|
'args.cc',
|
||||||
'canon-path.cc',
|
'canon-path.cc',
|
||||||
|
@ -111,22 +111,11 @@ add_project_arguments(
|
|||||||
# TODO(Qyriad): Yes this is how the autoconf+Make system did it.
|
# TODO(Qyriad): Yes this is how the autoconf+Make system did it.
|
||||||
# It would be nice for our headers to be idempotent instead.
|
# It would be nice for our headers to be idempotent instead.
|
||||||
'-include', 'config-util.hh',
|
'-include', 'config-util.hh',
|
||||||
'-Wno-deprecated-declarations',
|
|
||||||
'-Wimplicit-fallthrough',
|
|
||||||
'-Werror=switch',
|
|
||||||
'-Werror=switch-enum',
|
|
||||||
'-Werror=unused-result',
|
|
||||||
'-Wdeprecated-copy',
|
|
||||||
'-Wignored-qualifiers',
|
|
||||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
|
||||||
# at ~1% overhead in `nix search`.
|
|
||||||
#
|
|
||||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
|
||||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
|
||||||
'-D_GLIBCXX_ASSERTIONS=1',
|
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('meson-utils/diagnostics')
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'archive.cc',
|
'archive.cc',
|
||||||
'args.cc',
|
'args.cc',
|
||||||
|
Loading…
Reference in New Issue
Block a user