parent
0c4bc5daa3
commit
a8435f7b72
@ -1,62 +1,47 @@
|
|||||||
SET(libkbfxspinxsrc
|
#################################################
|
||||||
kbfxbutton.cpp
|
#
|
||||||
kbfxplasmacanvasabstractitem.cpp
|
# (C) 2011 Timothy Pearson
|
||||||
kbfxplasmacanvasgroup.cpp
|
# kb9vqf (AT) pearsoncomputing.net
|
||||||
kbfxplasmacanvasgroupview.cpp
|
#
|
||||||
kbfxplasmacanvasitem.cpp
|
# Improvements and feedback are welcome
|
||||||
kbfxplasmacanvasitem_events.cpp
|
#
|
||||||
kbfxplasmacanvasitemwrapper.cpp
|
# This file is released under GPL >= 2
|
||||||
kbfxplasmacanvasstack.cpp
|
#
|
||||||
kbfxplasmacanvasview.cpp
|
#################################################
|
||||||
kbfxplasmaindexitem.cpp
|
|
||||||
kbfxplasmaindexview.cpp
|
include_directories(
|
||||||
kbfxspinx.cpp
|
${TQT_INCLUDE_DIRS}
|
||||||
kbfxspinxmenu.cpp
|
${TDE_INCLUDE_DIR}
|
||||||
kbfxspinxpopup.cpp
|
${CMAKE_BINARY_DIR}
|
||||||
kbfxspinxscrollbar.cpp
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
kbfxspinxtoolbar.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
kbfxspinxtoolbutton.cpp
|
)
|
||||||
kbfxspinxtop.cpp
|
|
||||||
kbfxspinxview.cpp
|
link_directories(
|
||||||
kbfxtooltip.cpp
|
${TQT_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
IF (NOT USE_KDE4)
|
|
||||||
KDE3_ADD_DCOP_SKELS(libkbfxspinxsrc kbfxspinx.h)
|
##### kbfxspinx ##################################
|
||||||
KDE3_AUTOMOC(${libkbfxspinxsrc})
|
|
||||||
|
set( target kbfxspinx )
|
||||||
ADD_LIBRARY(kbfxspinx MODULE ${libkbfxspinxsrc})
|
|
||||||
SET_TARGET_PROPERTIES(kbfxspinx
|
set( ${target}_SRCS
|
||||||
PROPERTIES
|
kbfxbutton.cpp kbfxplasmacanvasabstractitem.cpp kbfxplasmacanvasgroup.cpp
|
||||||
COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
|
kbfxplasmacanvasgroupview.cpp kbfxplasmacanvasitem.cpp kbfxplasmacanvasitem_events.cpp
|
||||||
# SET_TARGET_PROPERTIES(kbfxspinx PROPERTIES
|
kbfxplasmacanvasitemwrapper.cpp kbfxplasmacanvasstack.cpp kbfxplasmacanvasview.cpp
|
||||||
# SOVERSION ${LIB_MAJOR}
|
kbfxplasmaindexitem.cpp kbfxplasmaindexview.cpp kbfxspinx.cpp kbfxspinxmenu.cpp
|
||||||
# VERSION ${APPLICATION_VERSION})
|
kbfxspinxpopup.cpp kbfxspinxscrollbar.cpp kbfxspinxtoolbar.cpp kbfxspinxtoolbutton.cpp
|
||||||
TARGET_LINK_LIBRARIES(kbfxspinx
|
kbfxspinxtop.cpp kbfxspinxview.cpp kbfxtooltip.cpp
|
||||||
kbfxdata
|
)
|
||||||
kbfxcommon
|
|
||||||
${QT_AND_TDECORE_LIBS}
|
tde_add_kpart( ${target} AUTOMOC
|
||||||
${KDE3_UI_LIBRARY}
|
SOURCES ${${target}_SRCS}
|
||||||
)
|
LINK tdecore-shared tdeui-shared kbfxspinx kbfxdata kbfxcommon
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
KDE3_INSTALL_LIBTOOL_FILE(kbfxspinx ${PLUGIN_INSTALL_DIR})
|
)
|
||||||
ELSE (NOT USE_KDE4)
|
|
||||||
# TODO: Have to rewrite it for DBUS.
|
|
||||||
# Rewrite the DCOP interface (in src/) to DBUS for KDE4 support.
|
##### desktop files ###############################
|
||||||
# Should be done in a way to preserve KDE3 compatibility!
|
|
||||||
KDE4_ADD_DCOP_SKELS(libkbfxspinxsrc kbfxspinx.h)
|
|
||||||
KDE4_AUTOMOC(${libkbfxspinxsrc})
|
|
||||||
|
|
||||||
KDE4_ADD_LIBRARY(kbfxspinx MODULE ${libkbfxspinxsrc})
|
|
||||||
TARGET_LINK_LIBRARIES(kbfxspinx
|
|
||||||
kbfxdata
|
|
||||||
kbfxcommon
|
|
||||||
${KDE4_TDECORE_LIBS}
|
|
||||||
${KDE4_TDEUI_LIBS}
|
|
||||||
)
|
|
||||||
|
|
||||||
KDE4_INSTALL_LIBTOOL_FILE(kbfxspinx ${PLUGIN_INSTALL_DIR})
|
|
||||||
ENDIF (NOT USE_KDE4)
|
|
||||||
|
|
||||||
INSTALL(TARGETS kbfxspinx DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
||||||
INSTALL(FILES kbfxspinx.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets)
|
INSTALL(FILES kbfxspinx.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets)
|
||||||
|
Loading…
Reference in new issue