add more spacing
[personal-kdebase.git] / workspace / libs / taskmanager / CMakeLists.txt
blob0d23c821313d53f18c26844f8d47f543e522add5
1 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1204)
3 ########### next target ###############
5 set(taskmanager_LIB_SRCS
6    abstractgroupableitem.cpp
7    abstractgroupingstrategy.cpp
8    abstractsortingstrategy.cpp
9    groupmanager.cpp
10    startup.cpp
11    strategies/alphasortingstrategy.cpp
12    strategies/desktopsortingstrategy.cpp
13    strategies/programgroupingstrategy.cpp
14    strategies/manualgroupingstrategy.cpp
15    strategies/manualsortingstrategy.cpp
16    task.cpp
17    taskactions.cpp
18    taskgroup.cpp
19    taskitem.cpp
20    taskmanager.cpp
21    )
23 kde4_add_library(taskmanager SHARED ${taskmanager_LIB_SRCS})
25 target_link_libraries(taskmanager ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES})
26 if (X11_Xfixes_FOUND)
27   target_link_libraries(taskmanager ${X11_Xfixes_LIB})
28 endif (X11_Xfixes_FOUND)
29 if (X11_Xrender_FOUND)
30   target_link_libraries(taskmanager ${X11_Xrender_LIB})
31 endif (X11_Xrender_FOUND)
32 if (X11_Xcomposite_FOUND)
33   target_link_libraries(taskmanager ${X11_Xcomposite_LIB})
34 endif (X11_Xcomposite_FOUND)
36 set_target_properties(taskmanager PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
37 install(TARGETS taskmanager EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
39 install(FILES
40    abstractgroupableitem.h
41    abstractgroupingstrategy.h
42    abstractsortingstrategy.h
43    groupmanager.h
44    startup.h
45    task.h
46    taskactions.h
47    taskgroup.h
48    taskitem.h
49    taskmanager.h
50    taskmanager_export.h
51    DESTINATION ${INCLUDE_INSTALL_DIR}/taskmanager COMPONENT Devel
52    )