Superbuild ready for first tests

Alexander Neundorf neundorf at kde.org
Mon Jun 20 23:34:16 CEST 2011


On Monday 20 June 2011, Sune Vuorela wrote:
> On Monday 20 June 2011 23:09:23 Alexander Neundorf wrote:
> > I think it's the DESTDIR.
> > CMake already must know about it, it must already be set as environment
> > variable when cmake is run (then it can tell the using projects where
> > their dependencies can be found), so something like
> > superbuild/kdeedu/build$ export DESTDIR=../dest
> > superbuild/kdeedu/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make
> 
> Aha. and DESTDIR needs to be a full path, not a relative path for things to
> work.

I'll add handling for relative paths.

That the env.var. has to be set also at cmake time is unavoidable, at least I 
haven't figured out another way.
 
Alex


More information about the Kde-buildsystem mailing list