Problem with makefile.unx when compiling opengl
applications
Iulian-Nicu Serbanoiu
undergraver at gmail.com
Thu Oct 5 10:34:18 PDT 2006
I will eliminate the "ls" command from the script. Do some further tests and
then see how I could integrate it.
Regards,
Iulian
On 10/5/06, Vadim Zeitlin <vadim at wxwindows.org> wrote:
>
> On Thu, 5 Oct 2006 11:19:27 +0300 Iulian-Nicu Serbanoiu <
> undergraver at gmail.com> wrote:
>
> INS> I think this is without hardcoding ... but it is not really tested
> ...
> INS> In my ubuntu it works.
> INS>
> INS> ins at ins-desktop:~$ cat my.sh
> INS> #!/bin/sh
> INS>
> INS> PREFIX=3D`wx-config --prefix`
> INS> BASENAME=3D`wx-config --basename`
> INS> RELEASE=3D`wx-config --release`
> INS> BEGIN_PATH=3D$PREFIX/lib/lib$BASENAME\_
> INS> END_PATH=3D-$RELEASE.so
> INS> LIST=3D`ls $BEGIN_PATH*$END_PATH`
> INS>
> INS> for FILE in $LIST; do
> INS> #echo $FILE
> INS> expr "$FILE" : "$BEGIN_PATH\(.*\)$END_PATH"
> INS> done
> INS>
> INS> ins at ins-desktop:~$ ./my.sh
> INS> adv
> INS> animate
> INS> core
> INS> deprecated
> INS> fl
> INS> gizmos
> INS> gizmos_xrc
> INS> gl
> INS> html
> INS> media
> INS> mmedia
> INS> ogl
> INS> plot
> INS> qa
> INS> stc
> INS> svg
> INS> xrc
>
> Now the question is how to integrate it with wx-config? I guess the best
> would be to output the list of libraries in `wx-config --help`. Second
> best
> would be to add --list-libs option. If you could submit a patch
> implementing this, it would be great.
>
> Thanks in advance,
> VZ
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20061005/a8e=
5f2bd/attachment.htm
More information about the wx-users
mailing list