Hello,
1.Could you elaborate what "part of that project is to call an included
program in a bunch of different ways" is in your case? I.e. could you
explain your usecase? (Perhaps include a link to your repo.)
2.If you want a message like
```
You have enable the meson option "foobar".
Therefore you can run the following targets:
my-run-target1
my-run-target23
my-run-target42
```
to be printed during `meson setup`, the (afaik) only possible way is this.
```
all_run_targets = []
r1 = run_target('my-run-target1', command: [foo, '-i', 'abc'])
all_run_targets += 'my-run-target1'
if get_option('myfeature').enabled()
r23 = run_target('my-run-target23', command: [foo, '-i', 'def'])
all_run_targets += 'my-run-target23'
endif
message('Therefore you can run the following targets:')
foreach rt : all_run_targets
message(rt)
endforeach
```
3.If another program should print such a message, or if another program
should run all run_targets, `meson introspect path/to/builddir
--targets`gives you what you want.