how to build post command using custom target when after done executable
command.
#10954
Unanswered
Nell69Rock
asked this question in
Q&A
Replies: 1 comment
-
That is not valid custom_target syntax. Nevertheless, the documentation at https://mesonbuild.com/Reference-manual_functions.html#custom_target states that you can pass the return value of |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
In most situations, the custom target is executed first. before executing the executable command.
assume that below command
executable('foo.elf', bar.c)
custom_target('foo.dump, 'foo.elf', @DUMP_CMD@) #always running this line first!!
ninja: error: '/USR/PATH/foo.elf', needed by 'foo.dump', missing and no known rule to make it
Beta Was this translation helpful? Give feedback.
All reactions