Log/meson.build

20 lines
386 B
Meson

inc = include_directories('.')
cpp_args = []
if get_variable('log_thread_safe', false)
cpp_args += '-DLOG_MUTEX=1'
endif
lib_okaestne_log = static_library('okaestne-log',
'Log.cpp',
include_directories: inc,
cpp_args: cpp_args
)
# to depend on in other projects:
okaestne_log_dep = declare_dependency(
link_with: lib_okaestne_log,
include_directories: inc
)