This should fix some future problems with dependencies getting updated in a way that's unsupported by the build tools targeted by Squeekboard.
21 lines
555 B
Meson
21 lines
555 B
Meson
entry = configure_file(
|
|
copy: true,
|
|
input: 'entry.py',
|
|
output: 'squeekboard-entry',
|
|
install: true,
|
|
install_dir: bindir,
|
|
)
|
|
|
|
test_layout = custom_target('squeekboard-test-layout',
|
|
build_by_default: true,
|
|
# meson doesn't track all inputs, cargo does
|
|
build_always_stale: true,
|
|
output: ['squeekboard-test-layout'],
|
|
console: true,
|
|
command: [cargo_build, '--rename', 'test_layout', '@OUTPUT@', '--bin', 'test_layout']
|
|
+ cargo_build_flags,
|
|
install: true,
|
|
install_dir: bindir,
|
|
depends: cargo_deps,
|
|
)
|