gamemode/daemon/meson.build
Stephan Lachnit d8337aeb05 various variable naming improvements
This makes it more clear that libgamemode and libgamemodeauto are indeed libraries. Also, the misleading name `libgamemode_dep` has been renamed to `gamemode_dep`, which now also includes the dependency on libdl. The misleading `libgamemode_includes` variable name has also been changed.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-23 09:18:14 +01:00

40 lines
767 B
Meson

# Main daemon
daemon_sources = [
'gamemoded.c',
'gamemode-context.c',
'gamemode-ioprio.c',
'gamemode-sched.c',
'gamemode-wine.c',
'gamemode-tests.c',
'gamemode-gpu.c',
'gamemode-dbus.c',
'gamemode-config.c',
]
gamemoded_includes = gamemode_headers_includes
gamemoded_includes += config_h_dir
gamemoded = executable(
'gamemoded',
sources: daemon_sources,
c_args: sd_bus_args,
dependencies: [
link_daemon_common,
dep_threads,
sd_bus_dep,
inih_dependency,
libdl,
],
include_directories: [
gamemoded_includes,
],
install: true,
)
# verify gamemoded compiled properly
test(
'validate gamemoded compiled properly',
gamemoded,
args: ['-v'],
)