mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] [PATCH] Add OpenSceneGraph


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] [PATCH] Add OpenSceneGraph
Date: Thu, 14 Jan 2010 00:29:11 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Martin Lambers <address@hidden> schrieb:
> All of the information about external libraries and the subset of
> plugins that get build is available in CMAKE, but unfortunately I cannot
> find a way to extract it and write it into the .pc files.
> 
> For mingw-cross-env, I see three options:
> 
> 1) Find a CMAKE wizard who solves the problems listed above and proposes
>    a patch to upstream.

Could you file a bug report to OSG, using your excellent description
you wrote in this email?

I guess the OSG people have more expertise in CMAKE than we have.

> 2) Build pkg-config files (either a single file or multiple files) that
>    provide the correct information for mingw-cross-env. This would need
>    tweaking for every new OSG release, and also when additional packages in
>    mingw-cross-env enable additional OSG plugins (for example, dcmtk for
>    the DICOM plugin).
> 3) Accept that OSG currently does not support static linking hints with
>    pkg-config, and require applications to do their static linking
>    themselves.

I see no advantage of 3) compared to 2), because in option 3) you also
have to keep a list of linker options. The only difference is that in 3)
it's informal (part of the docs) and in 2) it's explicit. So I think
that 2) is superior to 3) in any regard.

In addition, maybe there's a way to go through all *.pc file or through
all plugins in the build script, and perform some $(SED) action on each
plugin's *.pc file.


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]