dolphin/nsplugins/test/CMakeLists.txt
Maks Orlovich 1b5e2d1920 Seems like I need the indirection here to prevent CMake getting confused due to sharing or such.
Sorry about the trouble, folks.

svn path=/trunk/KDE/kdebase/apps/; revision=729019
2007-10-24 21:42:53 +00:00

26 lines
1.2 KiB
CMake

set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
include_directories( ${CMAKE_SOURCE_DIR}/libltdl ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/../ )
########### next target ###############
set(testnsplugin_SRCS testnsplugin.cpp ${nsplugins_SRCS} )
qt4_add_dbus_adaptor( testnsplugin_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.nsplugins.CallBack.xml ${CMAKE_CURRENT_SOURCE_DIR}/../plugin_part.h PluginPart
)
set(nsplugins_class_xml ${CMAKE_CURRENT_SOURCE_DIR}/../viewer/org.kde.nsplugins.class.xml)
QT4_ADD_DBUS_INTERFACE( testnsplugin_SRCS ${nsplugins_class_xml} nsplugins_class_interface )
set(nsplugins_instance_xml ${CMAKE_CURRENT_SOURCE_DIR}/../viewer/org.kde.nsplugins.instance.xml)
QT4_ADD_DBUS_INTERFACE( testnsplugin_SRCS ${nsplugins_instance_xml} nsplugins_instance_interface )
set(nsplugins_viewer_xml ${CMAKE_CURRENT_SOURCE_DIR}/../viewer/org.kde.nsplugins.viewer.xml)
QT4_ADD_DBUS_INTERFACE( testnsplugin_SRCS ${nsplugins_viewer_xml} nsplugins_viewer_interface )
kde4_add_executable(testnsplugin TEST ${testnsplugin_SRCS})
target_link_libraries(testnsplugin ${KDE4_KDE3SUPPORT_LIBS} ${QT_QT3SUPPORT_LIBRARY} ${QT_QTGUI_LIBRARY} )