diff options
author | Timothy Pearson <[email protected]> | 2011-11-25 15:56:27 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-25 15:56:27 -0600 |
commit | e1f0701a044549183106d857deaae291cc5950b0 (patch) | |
tree | 0f03a97cc9fdb7302df074de6b867e86a17d0fdf /plugins/plasmoids/CMakeLists.txt | |
parent | 5661d90024acd6f43dc38211891c7b48cd0709f2 (diff) | |
download | kbfx-e1f0701a044549183106d857deaae291cc5950b0.tar.gz kbfx-e1f0701a044549183106d857deaae291cc5950b0.zip |
Update remaining plugins to new CMake system
Diffstat (limited to 'plugins/plasmoids/CMakeLists.txt')
-rw-r--r-- | plugins/plasmoids/CMakeLists.txt | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/plugins/plasmoids/CMakeLists.txt b/plugins/plasmoids/CMakeLists.txt index 49d21c8..d2e2ced 100644 --- a/plugins/plasmoids/CMakeLists.txt +++ b/plugins/plasmoids/CMakeLists.txt @@ -1,44 +1,44 @@ -SET(libkbfxplasmadataplasmoidsrc - kbfxplasmadatapluginplosmoid.cpp - ) - -FILE(GLOB HEADERS *.h) - -IF (NOT USE_KDE4) - KDE3_AUTOMOC(${libkbfxplasmadataplasmoidsrc}) - - ADD_LIBRARY(kbfxplasmadataplasmoid SHARED ${libkbfxplasmadataplasmoidsrc} ) - SET_TARGET_PROPERTIES(kbfxplasmadataplasmoid - PROPERTIES - COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) - # SET_TARGET_PROPERTIES(kbfxplasmadataplasmoid PROPERTIES - # SOVERSION ${LIB_MAJOR} - # VERSION ${APPLICATION_VERSION}) - TARGET_LINK_LIBRARIES(kbfxplasmadataplasmoid - kbfxdata - ${QT_AND_TDECORE_LIBS} - ${KDE3_KIO_LIBRARY} - ${KDE3_UI_LIBRARY} - ${KDE3_KHTML_LIBRARY} - ${M_LIBRARY} - ) - - KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadataplasmoid ${LIB_INSTALL_DIR}/kbfx/plugins) -ELSE (NOT USE_KDE4) - KDE4_AUTOMOC(${libkbfxplasmadataplasmoidsrc}) - - KDE4_ADD_LIBRARY(kbfxplasmadataplasmoid SHARED ${libkbfxplasmadataplasmoidsrc} ) - TARGET_LINK_LIBRARIES(kbfxplasmadataplasmoid - kbfxdata - ${KDE4_TDECORE_LIBS} - ${KDE4_KIO_LIBS} - ${KDE4_TDEUI_LIBS} - ${KDE4_KHTML_LIBS} - ${M_LIBRARY} - ) - - KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmadataplasmoid ${LIB_INSTALL_DIR}/kbfx/plugins) -ENDIF (NOT USE_KDE4) - -INSTALL(TARGETS kbfxplasmadataplasmoid DESTINATION ${LIB_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} +) + + +##### kbfxplasmadataplasmoid #################### + +set( target kbfxplasmadataplasmoid ) + +set( ${target}_SRCS + kbfxplasmadatapluginplosmoid.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) |