paths to source files (Re: koffice/kspread)

Alexander Neundorf neundorf at kde.org
Mon Mar 27 21:03:54 CEST 2006


On Monday 27 March 2006 18:47, David Faure wrote:
> On Monday 27 March 2006 18:26, Laurent Montel wrote:
> > +       ${CMAKE_SOURCE_DIR}/kspread/dialogs/kspread_dlg_angle.cc
>
> You might want to try just "dialogs/kspread_dlg_angle.cc" instead. I think
> it works, it's shorter and more prepared for moving things around. I'm not
> sure why Alex used absolute paths so much though (maybe it simply made
> am2cmake simpler?)

Two things:
-for former conv. libs it was easier this way, because am2cmake doesn't detect 
where the conv. libs are used, so they need absolute paths
-the new Makefile generator which produces non-recursive Makefiles, which was 
introduced in cmake in summer last year had some problems in the beginning 
with relative file paths. They all should be fixed now, so that they 
shouldn't be required anymore.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list