22 lines
730 B
Meson
22 lines
730 B
Meson
project('4DSSE', 'cpp', version: '0.0.1a', default_options: ['cpp_std=c++23'], meson_version: '>=1.6.0')
|
|
|
|
# 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')
|
|
|
|
# Build the main project
|
|
subdir('src')
|
|
if get_option('build_tests')
|
|
subdir('tests')
|
|
endif
|
|
|
|
# Build the utilities
|
|
subdir('utils')
|