Is there a hook in cmake to test-compile things after an installation?

Friedrich W. H. Kossebau kossebau at kde.org
Wed Sep 30 13:29:51 CEST 2009


Hi Alex,

Mardi, le 29 septembre 2009, à 18:43, Alexander Neundorf a écrit:
> On Tuesday 29 September 2009, Friedrich W. H. Kossebau wrote:
> > Hi,
> >
> > to ensure that example code showing how to use a library is up-to-date
> > (and/or the installed headers/libs are okay) I would like to have that
> > code automatically test-compiled directly after an installation of the
> > headers/lib (as triggered by "make install"). The example code is in
> > files of the same project.
> >
> > Is there some way to do this, or has a similar thing been done already,
> > to copy from?
>
> Not that I know of.
> Maybe you could write a test which involves installing (maybe using
> DESTDIR) and then building a project from scratch.
> You may also ask at cmake at cmake.org

Thanks for the answer. So this looks like something to investigate, not to 
take and use, hm... postponed for now, at least by me :)

Cheers
Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta


More information about the Kde-buildsystem mailing list