Is there a hook in cmake to test-compile things after an installation?
Alexander Neundorf
neundorf at kde.org
Tue Sep 29 18:43:17 CEST 2009
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
Alex
More information about the Kde-buildsystem
mailing list