project('tech.owlcode.consumer-producer', 'cpp') add_global_arguments('-std=c++20', '-D_DEFAULT_SOURCE', language : 'cpp') inc = include_directories('include') sources = [ 'src/main.cpp', ] inc = [ 'include' ] link_arguments = [ ] executable('consumer-producer', sources, include_directories : inc, install : true, link_args : link_arguments, ) doxygen = find_program('doxygen', required : false) if doxygen.found() message('Doxygen found') run_target('docs', command : [doxygen, meson.source_root() + '/Doxyfile']) else warning('Documentation disabled without doxygen') endif