[CMake] Interresting dependency problem

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Sep 27 15:31:31 EDT 2007


On 2007-09-27 20:10+0200 Hendrik Sattler wrote:

> Am Donnerstag 27 September 2007 schrieb Félix C. Morency:
>> The use of
>> pkgconfig is prohibited, just like shell scripts and env. variables. The
>> solution has to be as portable as it can be (win32, linux, macosx, etc.)
>
> pkgconfig _is_ portable. It works on all the mentioned platforms, AFAIK.

To reinforce Hendrik's point, http://pkg-config.freedesktop.org/wiki/ has the
following to say:

"pkg-config works on multiple platforms: Linux and other UNIX-like operating
systems, Mac OS X and Windows. It does not require anything but a reasonably
well working C compiler and a C library, but can use an installed glib if
that is present. (A copy of glib 1.2.8 is shipped together with pkg-config
and this is sufficient for pkg-config to compile and work properly.)"

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list