gamemode/common/meson.build
Christian Kellner cd6c2ee612 common: create another lib tailored for the client
Use a small subset of the existing common files to create another
static library to be used from the client library.
2019-10-18 13:19:30 +02:00

37 lines
803 B
Meson

# Convenience library for the duplicated logging functionality
common_sources = [
'common-logging.c',
'common-governors.c',
'common-external.c',
'common-helpers.c',
'common-gpu.c',
'common-pidfds.c',
]
daemon_common = static_library(
'daemon-common',
sources: common_sources,
install: false,
include_directories: [config_h_dir]
)
link_daemon_common = declare_dependency(
link_with: daemon_common,
include_directories: [include_directories('.')]
)
lib_common = static_library(
'lib-common',
sources: [
'common-helpers.c',
'common-pidfds.c'
],
install: false,
include_directories: [config_h_dir]
)
link_lib_common = declare_dependency(
link_with: lib_common,
include_directories: [include_directories('.')]
)