generated file not generated

Alexander Neundorf neundorf at kde.org
Fri Oct 26 10:25:38 CEST 2007


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 ? 

Is this behaviour different from cmake 2.4.x ?

Alex


More information about the Kde-buildsystem mailing list