Update remaining plugins to new CMake system

(cherry picked from commit e1f0701a04)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 47402b5b90
commit e93b262def

@ -1,44 +1,44 @@
SET(libkbfxplasmadataplasmoidsrc #################################################
kbfxplasmadatapluginplosmoid.cpp #
) # (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
FILE(GLOB HEADERS *.h) #
# Improvements and feedback are welcome
IF (NOT USE_KDE4) #
KDE3_AUTOMOC(${libkbfxplasmadataplasmoidsrc}) # This file is released under GPL >= 2
#
ADD_LIBRARY(kbfxplasmadataplasmoid SHARED ${libkbfxplasmadataplasmoidsrc} ) #################################################
SET_TARGET_PROPERTIES(kbfxplasmadataplasmoid
PROPERTIES include_directories(
COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) ${TQT_INCLUDE_DIRS}
# SET_TARGET_PROPERTIES(kbfxplasmadataplasmoid PROPERTIES ${TDE_INCLUDE_DIR}
# SOVERSION ${LIB_MAJOR} ${CMAKE_BINARY_DIR}
# VERSION ${APPLICATION_VERSION}) ${CMAKE_CURRENT_BINARY_DIR}
TARGET_LINK_LIBRARIES(kbfxplasmadataplasmoid ${CMAKE_CURRENT_SOURCE_DIR}
kbfxdata )
${QT_AND_KDECORE_LIBS}
${KDE3_KIO_LIBRARY} link_directories(
${KDE3_UI_LIBRARY} ${TQT_LIBRARY_DIRS}
${KDE3_KHTML_LIBRARY} )
${M_LIBRARY}
)
##### kbfxplasmadataplasmoid ####################
KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadataplasmoid ${LIB_INSTALL_DIR}/kbfx/plugins)
ELSE (NOT USE_KDE4) set( target kbfxplasmadataplasmoid )
KDE4_AUTOMOC(${libkbfxplasmadataplasmoidsrc})
set( ${target}_SRCS
KDE4_ADD_LIBRARY(kbfxplasmadataplasmoid SHARED ${libkbfxplasmadataplasmoidsrc} ) kbfxplasmadatapluginplosmoid.cpp
TARGET_LINK_LIBRARIES(kbfxplasmadataplasmoid )
kbfxdata
${KDE4_KDECORE_LIBS} tde_add_library( ${target} SHARED AUTOMOC
${KDE4_KIO_LIBS} SOURCES ${${target}_SRCS}
${KDE4_KDEUI_LIBS} # VERSION 4.2.0
${KDE4_KHTML_LIBS} LINK DCOP-shared kdecore-shared kdeui-shared kio-shared khtml-shared ${M_LIBRARY} kbfxdata
${M_LIBRARY} DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins
) )
KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmadataplasmoid ${LIB_INSTALL_DIR}/kbfx/plugins)
ENDIF (NOT USE_KDE4) ##### headers #######################################
INSTALL(TARGETS kbfxplasmadataplasmoid DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins) file( GLOB HEADERS *.h )
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)

@ -1,44 +1,44 @@
SET(libkbfxplasmarecentstuffsrc #################################################
kbfxplasmarecentstuff.cpp #
) # (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
FILE(GLOB HEADERS *.h) #
# Improvements and feedback are welcome
IF (NOT USE_KDE4) #
KDE3_AUTOMOC(${libkbfxplasmarecentstuffsrc}) # This file is released under GPL >= 2
#
ADD_LIBRARY(kbfxplasmarecentstuff SHARED ${libkbfxplasmarecentstuffsrc} ) #################################################
SET_TARGET_PROPERTIES(kbfxplasmarecentstuff
PROPERTIES include_directories(
COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) ${TQT_INCLUDE_DIRS}
# SET_TARGET_PROPERTIES(kbfxplasmarecentstuff PROPERTIES ${TDE_INCLUDE_DIR}
# SOVERSION ${LIB_MAJOR} ${CMAKE_BINARY_DIR}
# VERSION ${APPLICATION_VERSION}) ${CMAKE_CURRENT_BINARY_DIR}
TARGET_LINK_LIBRARIES(kbfxplasmarecentstuff ${CMAKE_CURRENT_SOURCE_DIR}
kbfxdata )
${QT_AND_KDECORE_LIBS}
${KDE3_KIO_LIBRARY} link_directories(
${KDE3_UI_LIBRARY} ${TQT_LIBRARY_DIRS}
${KDE3_KHTML_LIBRARY} )
${M_LIBRARY}
)
##### kbfxplasmarecentstuff #####################
KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmarecentstuff ${LIB_INSTALL_DIR}/kbfx/plugins)
ELSE (NOT USE_KDE4) set( target kbfxplasmarecentstuff )
KDE4_AUTOMOC(${libkbfxplasmarecentstuffsrc})
set( ${target}_SRCS
KDE4_ADD_LIBRARY(kbfxplasmarecentstuff SHARED ${libkbfxplasmarecentstuffsrc} ) kbfxplasmarecentstuff.cpp
TARGET_LINK_LIBRARIES(kbfxplasmarecentstuff )
kbfxdata
${KDE4_KDECORE_LIBS} tde_add_library( ${target} SHARED AUTOMOC
${KDE4_KIO_LIBS} SOURCES ${${target}_SRCS}
${KDE4_KDEUI_LIBS} # VERSION 4.2.0
${KDE4_KHTML_LIBS} LINK DCOP-shared kdecore-shared kdeui-shared kio-shared khtml-shared ${M_LIBRARY} kbfxdata
${M_LIBRARY} DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins
) )
KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmarecentstuff ${LIB_INSTALL_DIR}/kbfx/plugins)
ENDIF (NOT USE_KDE4) ##### headers #######################################
INSTALL(TARGETS kbfxplasmarecentstuff DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins) file( GLOB HEADERS *.h )
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)

@ -1,44 +1,44 @@
SET(libkbfxplasmadatasettingssrc #################################################
kbfxplasmadatapluginsettings.cpp #
) # (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
FILE(GLOB HEADERS *.h) #
# Improvements and feedback are welcome
IF (NOT USE_KDE4) #
KDE3_AUTOMOC(${libkbfxplasmadatasettingssrc}) # This file is released under GPL >= 2
#
ADD_LIBRARY(kbfxplasmadatasettings SHARED ${libkbfxplasmadatasettingssrc}) #################################################
SET_TARGET_PROPERTIES(kbfxplasmadatasettings
PROPERTIES include_directories(
COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) ${TQT_INCLUDE_DIRS}
# SET_TARGET_PROPERTIES(kbfxplasmadatasettings PROPERTIES ${TDE_INCLUDE_DIR}
# SOVERSION ${LIB_MAJOR} ${CMAKE_BINARY_DIR}
# VERSION ${APPLICATION_VERSION}) ${CMAKE_CURRENT_BINARY_DIR}
TARGET_LINK_LIBRARIES(kbfxplasmadatasettings ${CMAKE_CURRENT_SOURCE_DIR}
kbfxdata )
${QT_AND_KDECORE_LIBS}
${KDE3_KIO_LIBRARY} link_directories(
${KDE3_UI_LIBRARY} ${TQT_LIBRARY_DIRS}
${KDE3_KHTML_LIBRARY} )
${M_LIBRARY}
)
##### kbfxplasmadatasettings ####################
KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadatasettings ${LIB_INSTALL_DIR}/kbfx/plugins)
ELSE (NOT USE_KDE4) set( target kbfxplasmadatasettings )
KDE4_AUTOMOC(${libkbfxplasmadatasettingssrc})
set( ${target}_SRCS
KDE4_ADD_LIBRARY(kbfxplasmadatasettings SHARED ${libkbfxplasmadatasettingssrc}) kbfxplasmadatasettings.cpp
TARGET_LINK_LIBRARIES(kbfxplasmadatasettings )
kbfxdata
${KDE4_KDECORE_LIBS} tde_add_library( ${target} SHARED AUTOMOC
${KDE4_KIO_LIBS} SOURCES ${${target}_SRCS}
${KDE4_KDEUI_LIBS} # VERSION 4.2.0
${KDE4_KHTML_LIBS} LINK DCOP-shared kdecore-shared kdeui-shared kio-shared khtml-shared ${M_LIBRARY} kbfxdata
${M_LIBRARY} DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins
) )
KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmadatasettings ${LIB_INSTALL_DIR}/kbfx/plugins)
ENDIF (NOT USE_KDE4) ##### headers #######################################
INSTALL(TARGETS kbfxplasmadatasettings DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins) file( GLOB HEADERS *.h )
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)

@ -1,46 +1,44 @@
SET(libkbfxstrigiclientsrc #################################################
kbfxstrigiplugin.cpp #
) # (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
FILE(GLOB HEADERS *.h) #
# Improvements and feedback are welcome
IF (NOT USE_KDE4) #
KDE3_AUTOMOC(${libkbfxstrigiclientsrc}) # This file is released under GPL >= 2
#
ADD_LIBRARY(kbfxstrigiclient SHARED ${libkbfxstrigiclientsrc}) #################################################
SET_TARGET_PROPERTIES(kbfxstrigiclient
PROPERTIES include_directories(
COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) ${TQT_INCLUDE_DIRS}
# SET_TARGET_PROPERTIES(kbfxstrigiclient PROPERTIES ${TDE_INCLUDE_DIR}
# SOVERSION ${LIB_MAJOR} ${CMAKE_BINARY_DIR}
# VERSION ${APPLICATION_VERSION}) ${CMAKE_CURRENT_BINARY_DIR}
TARGET_LINK_LIBRARIES(kbfxstrigiclient ${CMAKE_CURRENT_SOURCE_DIR}
kbfxdata )
${QT_AND_KDECORE_LIBS}
${KDE3_KIO_LIBRARY} link_directories(
${KDE3_UI_LIBRARY} ${TQT_LIBRARY_DIRS}
${KDE3_KHTML_LIBRARY} )
${M_LIBRARY}
${STRIGICLIENT_LIBRARY}
) ##### kbfxstrigiclient ##########################
KDE3_INSTALL_LIBTOOL_FILE(kbfxstrigiclient ${LIB_INSTALL_DIR}/kbfx/plugins) set( target kbfxstrigiclient )
ELSE (NOT USE_KDE4)
KDE4_AUTOMOC(${libkbfxstrigiclientsrc}) set( ${target}_SRCS
kbfxstrigiplugin.cpp
KDE4_ADD_LIBRARY(kbfxstrigiclient SHARED ${libkbfxstrigiclientsrc}) )
TARGET_LINK_LIBRARIES(kbfxstrigiclient
kbfxdata tde_add_library( ${target} SHARED AUTOMOC
${KDE4_KDECORE_LIBS} SOURCES ${${target}_SRCS}
${KDE4_KIO_LIBS} # VERSION 4.2.0
${KDE4_KDEUI_LIBS} LINK DCOP-shared kdecore-shared kdeui-shared kio-shared khtml-shared ${M_LIBRARY} ${STRIGICLIENT_LIBRARY} kbfxdata kbfxplasmadatasettings
${KDE4_KHTML_LIBS} DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins
${M_LIBRARY} )
${STRIGICLIENT_LIBRARY}
)
##### headers #######################################
KDE4_INSTALL_LIBTOOL_FILE(kbfxstrigiclient ${LIB_INSTALL_DIR}/kbfx/plugins)
ENDIF (NOT USE_KDE4) file( GLOB HEADERS *.h )
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)
INSTALL(TARGETS kbfxstrigiclient DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins)
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)
Loading…
Cancel
Save