From e1f0701a044549183106d857deaae291cc5950b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Nov 2011 15:56:27 -0600 Subject: Update remaining plugins to new CMake system --- plugins/recentstuff/CMakeLists.txt | 88 +++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 44 deletions(-) (limited to 'plugins/recentstuff/CMakeLists.txt') diff --git a/plugins/recentstuff/CMakeLists.txt b/plugins/recentstuff/CMakeLists.txt index f5f3f83..8925144 100644 --- a/plugins/recentstuff/CMakeLists.txt +++ b/plugins/recentstuff/CMakeLists.txt @@ -1,44 +1,44 @@ -SET(libkbfxplasmarecentstuffsrc - kbfxplasmarecentstuff.cpp - ) - -FILE(GLOB HEADERS *.h) - -IF (NOT USE_KDE4) - KDE3_AUTOMOC(${libkbfxplasmarecentstuffsrc}) - - ADD_LIBRARY(kbfxplasmarecentstuff SHARED ${libkbfxplasmarecentstuffsrc} ) - SET_TARGET_PROPERTIES(kbfxplasmarecentstuff - PROPERTIES - COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) - # SET_TARGET_PROPERTIES(kbfxplasmarecentstuff PROPERTIES - # SOVERSION ${LIB_MAJOR} - # VERSION ${APPLICATION_VERSION}) - TARGET_LINK_LIBRARIES(kbfxplasmarecentstuff - kbfxdata - ${QT_AND_TDECORE_LIBS} - ${KDE3_KIO_LIBRARY} - ${KDE3_UI_LIBRARY} - ${KDE3_KHTML_LIBRARY} - ${M_LIBRARY} - ) - - KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmarecentstuff ${LIB_INSTALL_DIR}/kbfx/plugins) -ELSE (NOT USE_KDE4) - KDE4_AUTOMOC(${libkbfxplasmarecentstuffsrc}) - - KDE4_ADD_LIBRARY(kbfxplasmarecentstuff SHARED ${libkbfxplasmarecentstuffsrc} ) - TARGET_LINK_LIBRARIES(kbfxplasmarecentstuff - kbfxdata - ${KDE4_TDECORE_LIBS} - ${KDE4_KIO_LIBS} - ${KDE4_TDEUI_LIBS} - ${KDE4_KHTML_LIBS} - ${M_LIBRARY} - ) - - KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmarecentstuff ${LIB_INSTALL_DIR}/kbfx/plugins) -ENDIF (NOT USE_KDE4) - -INSTALL(TARGETS kbfxplasmarecentstuff DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) +################################################# +# +# (C) 2011 Timothy Pearson +# kb9vqf (AT) pearsoncomputing.net +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kbfxplasmarecentstuff ##################### + +set( target kbfxplasmarecentstuff ) + +set( ${target}_SRCS + kbfxplasmarecentstuff.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} +# VERSION 4.2.0 + LINK DCOP-shared tdecore-shared tdeui-shared kio-shared khtml-shared ${M_LIBRARY} kbfxdata + DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins +) + + +##### headers ####################################### + +file( GLOB HEADERS *.h ) +INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) \ No newline at end of file -- cgit v1.2.1