[build2] Shell expansion in compiler arguments?

Boris Kolpackov boris at codesynthesis.com
Sat Apr 6 08:15:42 UTC 2019


David Cohoe <sudgylacmoe at gmail.com> writes:

> I am trying to use wxWidgets in a build2 project.  To compile anything
> with it, you need to add the output of "wx-config --cxxflags" to your
> compiler.  However, I can't seem to find a way to make build2 run that
> command in the shell.

This earlier post has the answer:

https://lists.build2.org/archives/users/2019-March/000594.html

We also do something very similar in ODB:

https://git.codesynthesis.com/cgit/odb/odb/tree/build/root.build



More information about the users mailing list