delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / nsplugins / test / CMakeLists.txt
blobb77089bd5be3a614e419aacad48b04645bd8fffe
1 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
2 include_directories( ${CMAKE_SOURCE_DIR}/libltdl ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/../ )
4 ########### next target ###############
6 set(testnsplugin_SRCS testnsplugin.cpp ${nsplugins_SRCS} )
8 qt4_add_dbus_adaptor( testnsplugin_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.nsplugins.CallBack.xml ${CMAKE_CURRENT_SOURCE_DIR}/../plugin_part.h PluginPart
11 set(nsplugins_class_xml  ${CMAKE_CURRENT_SOURCE_DIR}/../viewer/org.kde.nsplugins.class.xml)
12 QT4_ADD_DBUS_INTERFACE( testnsplugin_SRCS ${nsplugins_class_xml} nsplugins_class_interface )
14 set(nsplugins_instance_xml  ${CMAKE_CURRENT_SOURCE_DIR}/../viewer/org.kde.nsplugins.instance.xml)
15 QT4_ADD_DBUS_INTERFACE( testnsplugin_SRCS ${nsplugins_instance_xml} nsplugins_instance_interface )
17 set(nsplugins_viewer_xml  ${CMAKE_CURRENT_SOURCE_DIR}/../viewer/org.kde.nsplugins.viewer.xml)
18 QT4_ADD_DBUS_INTERFACE( testnsplugin_SRCS ${nsplugins_viewer_xml} nsplugins_viewer_interface )
20 kde4_add_executable(testnsplugin TEST ${testnsplugin_SRCS})
22 target_link_libraries(testnsplugin ${KDE4_KPARTS_LIBS} ${QT_QTDBUS_LIBRARY})