build(meson.build): remove unused variable, function, lambda capture, and member variable warnings during debug builds

This commit is contained in:
2025-03-19 10:38:00 -04:00
parent 8f8240580d
commit e6039494f8

View File

@@ -3,6 +3,10 @@ project('4DSSE', 'cpp', version: '0.0.1a', default_options: ['cpp_std=c++23'], m
# Add default visibility for all C++ targets
add_project_arguments('-fvisibility=default', language: 'cpp')
if get_option('buildtype') == 'debug'
add_project_arguments('-Wno-unused-variable', '-Wno-unused-parameter', '-Wno-unused-function', '-Wno-unused-private-field', '-Wno-unused-lambda-capture', language : 'cpp')
endif
# Build external dependencies first so that all the embedded resources are available to the other targets
subdir('build-config')
subdir('subprojects/PicoSHA2')
@@ -14,4 +18,4 @@ if get_option('build_tests')
endif
# Build the utilities
subdir('utils')
subdir('utils')