#34 Initial pkg-config support

open
nobody
cpptasks (19)
5
2005-04-18
2005-04-18
mef
No

I attach a patch against CVS that adds pkg-config
support to the GCC compiler task. Note that I
implemented this as <pkgconfiglibset> and
<pkgconfigincludepath> tags, rather than as "pkgconfig"
args to <libset> and <includepath>. The latter might
have made more sense in retrospect; however, since
pkg-config returns a list of directories and files, I
didn't see how to integrate it into <libset> in an easy
way.

I also had to modify LibrarySet to change a couple of
fields from "public" to "protected" so that I could
override some methods.

Let me know if this is useful ...

MEF

Discussion

  • mef
    mef
    2005-04-18

    Patch against CVS to add pkg-config support

     
    Attachments
  • Logged In: YES
    user_id=421644

    Hi - I would like to request that this be merged into the
    cpptasks for the next rlease. It works fine and allows me to
    build a JNI (Java/C) wrapper library on a multitude of
    operating systems (Linux, BSD, Solaris) without a single
    change, right out of the box. It is really very valuable.