not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / libs / kworkspace / CMakeLists.txt
blob4ea3d708a2295e715a5622e7aa86b54d81c89c4f
3 set(kworkspace_LIB_SRCS kdisplaymanager.cpp
4                         kworkspace.cpp
5                         kwindowlistmenu.cpp
6    )
8 set(ksmserver_xml  ${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
9 qt4_add_dbus_interface( kworkspace_LIB_SRCS ${ksmserver_xml} ksmserver_interface )
11 set(kwin_xml  ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/org.kde.KWin.xml)
13 set_source_files_properties(${kwin_xml} PROPERTIES INCLUDE "interface_util.h")
15 qt4_add_dbus_interface( kworkspace_LIB_SRCS ${kwin_xml} kwin_interface )
18 kde4_add_library(kworkspace SHARED ${kworkspace_LIB_SRCS})
20 target_link_libraries(kworkspace  ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES} )
22 set_target_properties(kworkspace PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
23 install(TARGETS kworkspace EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
25 install( FILES kdisplaymanager.h
26                kworkspace.h
27                kwindowlistmenu.h
28          DESTINATION ${INCLUDE_INSTALL_DIR}/kworkspace COMPONENT Devel )