How to use QDBUS_ADD_INTERFACES cmake macro?
Volker Krause
volker.krause at rwth-aachen.de
Sat Jun 17 10:22:33 BST 2006
On Friday 16 June 2006 03:31, Gary Cramblitt wrote:
> I tried this is my CMakeLists.txt file:
> -----
> set(kttsmgr_SRCS
> kttsmgr.cpp
> kspeechinterface.cpp )
>
> QDBUS_ADD_INTERFACES(${kttsmgr_SRCS} org.kde.KSpeech.xml )
>
> kde4_automoc(${kttsmgr_SRCS})
>
> kde4_add_executable(kttsmgr ${kttsmgr_SRCS})
>
> target_link_libraries(kttsmgr
> ${KDE4_KDECORE_LIBS}
> ${KDE4_KDEUI_LIBS}
> ${KDE4_KUTILS_LIBS} )
>
> install_targets(/bin kttsmgr )
> -----
>
> I placed a copy of org.kde.KSpeech.xml in the kttsmgr source directory.
>
> But I'm getting
>
> make[2]: *** No rule to make target
> `../kdeaccessibility/kttsd/kttsmgr/kspeechinterface.cpp', needed by
> `kttsd/kttsmgr/kspeechinterface.cpp'. Stop.
The macro didn't handle the org.foo.Bar.xml filenames right, I've just fixed
that in trunk. It should now generate a kspeechinterface.h/.cpp in your case.
regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060617/81ebd2df/attachment.sig>
More information about the kde-core-devel
mailing list