mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-03 15:49:07 -04:00
Merge branch 'YaLTeR-main-patch-76590' into 'main'
setup.rst: Fix meson dependencies See merge request jwestman/blueprint-compiler!2
This commit is contained in:
commit
78618cb75a
1 changed files with 12 additions and 5 deletions
|
@ -48,12 +48,19 @@ blueprint-compiler works as a meson subproject.
|
||||||
|
|
||||||
.. code-block:: meson.build
|
.. code-block:: meson.build
|
||||||
|
|
||||||
|
blps = [
|
||||||
|
# LIST YOUR BLUEPRINT FILES HERE
|
||||||
|
]
|
||||||
|
|
||||||
|
uis = []
|
||||||
|
foreach blp : blps
|
||||||
|
uis += blp.replace('.blp', '.ui')
|
||||||
|
endforeach
|
||||||
|
|
||||||
blueprints = custom_target('blueprints',
|
blueprints = custom_target('blueprints',
|
||||||
input: files(
|
input: blps,
|
||||||
# LIST YOUR BLUEPRINT FILES HERE
|
output: uis,
|
||||||
),
|
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTDIR@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
|
||||||
output: '.',
|
|
||||||
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#. In the same ``meson.build`` file, add this argument to your ``gnome.compile_resources`` command:
|
#. In the same ``meson.build`` file, add this argument to your ``gnome.compile_resources`` command:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue