meson.build: move Log.cxx and LogBackend.cxx into a static library

Prevents compiling those sources many times, once for each debug
program using it.
This commit is contained in:
Max Kellermann
2020-01-18 19:45:56 +01:00
parent bdd3167495
commit 7551867249
11 changed files with 26 additions and 61 deletions

View File

@@ -5,6 +5,9 @@ decoder_api = static_library(
'DecoderBuffer.cxx',
'DecoderPlugin.cxx',
include_directories: inc,
dependencies: [
log_dep,
],
)
decoder_api_dep = declare_dependency(