M libkn/meson.build => libkn/meson.build +3 -0
@@ 15,6 15,9 @@ libkn_headers = files(
libkn = library('kiln',
libkn_sources,
libkn_headers,
+ c_args: [
+ '-DG_LOG_DOMAIN="Kiln"',
+ ],
dependencies: libkn_dependencies,
build_by_default: false,
)
M modules/meson.build => modules/meson.build +3 -0
@@ 5,6 5,9 @@ all_modules = [
foreach module : all_modules
shared_module(module,
module + '.c',
+ c_args: [
+ '-DG_LOG_DOMAIN="Kiln-Mod-' + module.to_upper() + '"',
+ ],
dependencies: [
libkn_dep,
],
M shell/meson.build => shell/meson.build +3 -0
@@ 2,6 2,9 @@ libedit_dep = dependency('libedit')
shell_exe = executable('kn-jsc',
'main.c',
+ c_args: [
+ '-DG_LOG_DOMAIN="Kiln-Shell"',
+ ],
dependencies: [
libedit_dep,
libkn_dep,