[MacOS10.4.9, wxMac2.8.4,
gcc 4.0.1] "Automating" the use of wx-config
David Goldsmith
David.L.Goldsmith at noaa.gov
Tue Jun 26 14:54:45 PDT 2007
Robin Dunn wrote:
> 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>
Yes, I'm using bash; thanks!!!
DG
>
> 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.
>
--
ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>
More information about the wx-users
mailing list