diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2022-06-21 20:18:22 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-06-21 20:20:27 -0400 |
commit | e15649b83a78f89f57205927022115536d2c1698 (patch) | |
tree | 07a99ba1b8f9bb9641c2abcb88fa5f62739c5008 | |
parent | 57ba70da5312170883a3d622cd2aa3fd0e2ec7ae (diff) | |
download | keycodemapdb-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.
-rw-r--r-- | meson.build | 7 |
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') |