aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e0be1e7..1afd57b 100644
--- a/meson.build
+++ b/meson.build
@@ -38,6 +38,8 @@ src = [
'src/Overlay.cpp',
'src/GlobalHotkeysX11.cpp',
'src/GlobalHotkeysLinux.cpp',
+ 'src/GlobalHotkeysJoystick.cpp',
+ 'src/Hotplug.cpp',
'src/Rpc.cpp',
'src/main.cpp',
]
@@ -49,6 +51,9 @@ prefix = get_option('prefix')
datadir = get_option('datadir')
gsr_ui_resources_path = join_paths(prefix, datadir, 'gsr-ui')
+add_project_arguments('-DGSR_UI_VERSION="' + meson.project_version() + '"', language: ['c', 'cpp'])
+add_project_arguments('-DGSR_FLATPAK_VERSION="5.0.10"', language: ['c', 'cpp'])
+
executable(
meson.project_name(),
src,