I did a simple custom target in Meson:
my_build = custom_target('my_build', command: ['../my_script.sh', '-arg1'], build_always_stale: true, output: 'fake')
This works OK..., but when I try to use this as subproject from other Meson projects, I get a message that ../my_script.sh
cannot be found.
How do I specify the path to my_script.sh
, so that the script is always found, no matter called directly in this subproject, or from a root project?