Project using pkg-config
Andreas Pakulat
apaku at gmx.de
Sun Nov 25 19:21:54 GMT 2007
On 25.11.07 18:56:44, Jordi Rovira wrote:
> Hi,
>
> First of all, congratulations to the team for KDevelop. I've been
> evaluating many IDEs until now and i think this is my best option for
> Linux.
>
> Now the questions:
>
> 1 - My project under Debian Testing is using libraries that use
> pkg-config. I can add
>
> `pkg-config --cflags freetype sdl`
>
> to the compiler flags in the subproject options CXXFLAGS, and it
> works. However, the next time i load the project i get it modified to
>
> --cflags `pkg-config freetype` sdl
>
> which is bad. I could copy whatever this command returns, but this is
> not the philosophy of pkg-config. The same problem happens with
> linking parameters. The question is: what is the proper way to use
> this pkg-config libraries in KDevelop automake/autoconf projects?
Look into the so-called autobook, it explains how to write autoconf
checks for external libraries. Those checks can then use pkg-config's
output to set automake variables. Then use the variables in the linker
options of your target (check the automake manager on the right for
finding your target). The options are part of the target-options dialog
accesible by right-clicking it.
> 2 - I am using two monitors, but the user interface can't benefit
> >from this. I try to change the major user interface mode, but the
> configuration dialog doesn't show this option as it should accoridng
> to the User Manual. It is just not there, only the bottom part. I
> don't know if that was removed or it is somewhere else. Any hint?
That has been removed from KDevelop3.4 due to unresolveable problems
with the underlying ui library.
Andreas
--
Another good night not to sleep in a eucalyptus tree.
More information about the KDevelop
mailing list