How to pass find_program()
s into custom_target()
s?
#13178
Unanswered
nils-werner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing a few shellscripts for
custom_target()
s, which will then call buildtools that I want to be able to parameterize in--cross-file
s. To that end I have across.ini
which lets me customize the binarya
meson.build
that finds the binary,and a
build.sh
that get's passed the binary, to later call itHowever it turns out that on Linux
find_program('xsct')
returnssdk/xsct
, and on Windows['bash', 'sdk/xsct']
, which breaks the parameters to the shellscript.Am I doing all of this wrong? How should I be doing this?
Beta Was this translation helpful? Give feedback.
All reactions