mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 15:47:20 +02:00
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>
This commit is contained in:
parent
d4536c62af
commit
d8337aeb05
@ -11,7 +11,7 @@ daemon_sources = [
|
|||||||
'gamemode-config.c',
|
'gamemode-config.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
gamemoded_includes = libgamemode_includes
|
gamemoded_includes = gamemode_headers_includes
|
||||||
gamemoded_includes += config_h_dir
|
gamemoded_includes += config_h_dir
|
||||||
|
|
||||||
gamemoded = executable(
|
gamemoded = executable(
|
||||||
|
@ -5,8 +5,7 @@ executable(
|
|||||||
'main.c',
|
'main.c',
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
libgamemode_dep,
|
gamemode_dep,
|
||||||
libdl,
|
|
||||||
],
|
],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: path_bindir,
|
install_dir: path_bindir,
|
||||||
|
@ -6,7 +6,7 @@ lt_age = '0'
|
|||||||
lt_version = '@0@.@1@.@2@'.format(lt_current, lt_age, lt_revision)
|
lt_version = '@0@.@1@.@2@'.format(lt_current, lt_age, lt_revision)
|
||||||
|
|
||||||
# Main client library to message the daemon
|
# Main client library to message the daemon
|
||||||
gamemode = shared_library(
|
libgamemode = shared_library(
|
||||||
'gamemode',
|
'gamemode',
|
||||||
sources: [
|
sources: [
|
||||||
'client_impl.c',
|
'client_impl.c',
|
||||||
@ -20,12 +20,12 @@ gamemode = shared_library(
|
|||||||
version: lt_version,
|
version: lt_version,
|
||||||
)
|
)
|
||||||
|
|
||||||
libgamemode_includes = [
|
gamemode_headers_includes = [
|
||||||
include_directories('.'),
|
include_directories('.'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Small library to automatically use gamemode
|
# Small library to automatically use gamemode
|
||||||
gamemodeauto = both_libraries(
|
libgamemodeauto = both_libraries(
|
||||||
'gamemodeauto',
|
'gamemodeauto',
|
||||||
sources: [
|
sources: [
|
||||||
'client_loader.c',
|
'client_loader.c',
|
||||||
@ -72,10 +72,11 @@ pkg.generate(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Dependency objects for the libs
|
# Dependency objects
|
||||||
libgamemode_dep = declare_dependency(
|
gamemode_dep = declare_dependency(
|
||||||
include_directories: libgamemode_includes,
|
include_directories: gamemode_headers_includes,
|
||||||
|
dependencies: libdl,
|
||||||
)
|
)
|
||||||
libgamemodeauto_dep = declare_dependency(
|
libgamemodeauto_dep = declare_dependency(
|
||||||
link_with: gamemodeauto,
|
link_with: libgamemodeauto,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user