Installed tests
David Faure
faure at kde.org
Wed Jun 20 11:40:28 CEST 2007
On Wednesday 20 June 2007, Andreas Pakulat wrote:
> > Actually I think stuff needed only for testing shouldn't be installed. Would
> > be cool if we could find a solution for these test apps. Maybe setting
> > KDEDIRS ?
No, using the path to the srcdir in the test, like I do e.g. in kdeui:
add_definitions( -DKDESRCDIR=\\""${CMAKE_CURRENT_SOURCE_DIR}"\\" )
KGlobal::dirs()->addResourceDir( "data", KDESRCDIR );
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list