[CMake] FOSDEM Talk on CMake is available

Filipe Sousa natros at gmail.com
Thu Apr 3 15:41:16 EDT 2008


Alexander Neundorf wrote:
> On Thursday 03 April 2008, Alan W. Irwin wrote:
> 
> One prinicipal problem I see with pkg-config is that it is intended to be used 
> in such a way that the stdout is directly used as command line arguments for 
> the compiler.
> E.g. instead of a list of include directories it just prints
> -I/opt/foo/include -I/home/alex/install/include .
> It does the same for other flags, which may be not that standard as -I for 
> include dirs. This breaks if you try to use the package with another compiler 
> than the one the pc-file was written for.
> It would be so much better if it would store something like an xml file:
> <include_dirs>
>    <dir>/opt/foo/include</dir>
>    <dir>/home/alex/install/include</dir>
> </include_dirs>
> 
> This would be independent from the syntax of the *command line arguments of 
> the compiler*.

The same rules apply to cmake. It would be much better if cmake could 
export this information in xml so that others could easily get the 
information.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080403/f6eb1d7b/attachment.pgp>


More information about the CMake mailing list