generated file not generated
David Faure
faure at kde.org
Fri Oct 26 18:09:27 CEST 2007
On Friday 26 October 2007, Alexander Neundorf wrote:
> On Friday 26 October 2007, David Faure wrote:
> > Any idea why this doesn't work?
>
> Yes.
>
> > qt4_generate_dbus_interface( kdedadaptor.h org.kde.kded.xml )
> > install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kded.xml DESTINATION
> > ${DBUS_INTERFACES_INSTALL_DIR})
> >
> > and this generated org.kde.kded.xml isn't otherwise used; it's only
> > generated to be installed (for other modules to use it). What happens at
>
> org.kde.kded.xml is not used in any target, so there is no dependency which
> forces it to be created. Can you just add it to any of the targets where it
> makes sense ?
That works. Confusing (that file doesn't need to be compiled into that target), but it works.
--
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