Skip to content
Snippets Groups Projects
meson.build 805 B
Newer Older
project('EMPER', 'c', 'cpp',
		version: '0.0.1-alpha1-SNAPSHOT',
		default_options : [
		  'warning_level=3',
		  'c_std=gnu11',
		  'cpp_std=c++17',
		  'b_ndebug=if-release',
		  'werror=true',
		])

# TODO: Re-enable that warning.
add_project_arguments('-Wno-non-virtual-dtor', language: 'cpp')

thread_dep = dependency('threads')
emper_dependencies = [thread_dep]

conf_data = configuration_data()
conf_data.set('EMPER_WORKER_SLEEP', get_option('worker_sleep'))
conf_data.set('EMPER_LOCKED_WS_QUEUE', get_option('locked_ws_queue'))
conf_data.set('EMPER_OVERFLOW_QUEUE', get_option('overflow_queue'))
conf_data.set('EMPER_LOCKED_MPSC_QUEUE', get_option('locked_mpsc_queue'))
conf_data.set('EMPER_STATS', get_option('stats'))

subdir('emper')
subdir('tests')
subdir('apps')
subdir('eval')
subdir('doc')