build(meson.build): remove unused variable, function, lambda capture, and member variable warnings during debug builds
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user