generated file not generated

David Faure faure at kde.org
Fri Oct 26 01:59:52 CEST 2007


Any idea why this doesn't work?

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 make install is:
file INSTALL cannot find file "<builddir>/org.kde.kded.xml" to install.

The path in the error message is correct, but somehow the dependency on the generated file
is missing, it's not generated.
The org.kde.kded.xml file doesn't appear in "make help".

cmake CVS 2.5-20071015

-- 
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