Add input directory argument to batch-compile

This allows it to maintain the directory structure of the input files.
This commit is contained in:
James Westman 2021-11-24 21:29:18 -06:00
parent 0e33ce190d
commit 5c0fd46ebe
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
2 changed files with 15 additions and 3 deletions

View file

@ -35,7 +35,7 @@ gtk-blueprint-tool works as a meson subproject.
# LIST YOUR BLUEPRINT FILES HERE
),
output: '.',
command: [find_program('gtk-blueprint-tool'), 'batch-compile', '@OUTPUT@', '@INPUT@'],
command: [find_program('gtk-blueprint-tool'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
#. In the same ``meson.build`` file, add this argument to your ``gnome.compile_resources`` command: