aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2022-06-21 20:18:22 -0400
committerEli Schwartz <eschwartz93@gmail.com>2022-06-21 20:20:27 -0400
commite15649b83a78f89f57205927022115536d2c1698 (patch)
tree07a99ba1b8f9bb9641c2abcb88fa5f62739c5008 /meson.build
parent57ba70da5312170883a3d622cd2aa3fd0e2ec7ae (diff)
downloadkeycodemapdb-e15649b83a78f89f57205927022115536d2c1698.zip
keycodemapdb-e15649b83a78f89f57205927022115536d2c1698.tar.gz
keycodemapdb-e15649b83a78f89f57205927022115536d2c1698.tar.bz2
make the meson.build stub a bit more well-rounded by exporting files
Provide variables for: - the found program keymap-gen - the CSV mapping table and for enhanced convenience, override keymap-gen This allows grabbing the variables from another Meson project without futzing with submodule paths, something that Meson doesn't really encourage.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index eb9416b..6d263aa 100644
--- a/meson.build
+++ b/meson.build
@@ -1 +1,6 @@
-project('keycodemapdb')
+project('keycodemapdb', meson_version: '>=0.46.0')
+
+keymap_gen = find_program('tools/keymap-gen')
+meson.override_find_program('keymap-gen', keymap_gen)
+
+keymaps_csv = files('data/keymaps.csv')