[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: How to use QDBUS_ADD_INTERFACES cmake macro?
From:       Volker Krause <volker.krause () rwth-aachen ! de>
Date:       2006-06-17 9:22:33
Message-ID: 200606171122.36475.volker.krause () rwth-aachen ! de
[Download RAW message or body]


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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic