[MacOS10.4.9, wxMac2.8.4, gcc 4.0.1] "Automating" the use of
wx-config
Robin Dunn
robin at alldunn.com
Tue Jun 26 14:50:53 PDT 2007
David Goldsmith wrote:
> Hi! Short of: a) using make (which I intend to learn when I'm under a
> little less deadline pressure) and/or b) using it in a shell script
> (ditto), is there a convenient way to pass to gcc the output of the
> wx-config command, i.e., something like gcc <wx-config output> <my
> flags> <source files>?
If you're using the bash shell or a similar shell then you just put the
command to execute inside backticks, like this:
gcc `wx-config --cxxflags` <my flags> <source files>
There's something similar for cshell but it's been over a decade since
I've used it so I have no clue what it was.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-users
mailing list