parent
70e4630087
commit
47402b5b90
@ -1,44 +1,44 @@
|
|||||||
SET(libkbfxplasmadatastubsrc
|
#################################################
|
||||||
kbfxplasmadataplugin.cpp
|
#
|
||||||
)
|
# (C) 2011 Timothy Pearson
|
||||||
|
# kb9vqf (AT) pearsoncomputing.net
|
||||||
FILE(GLOB HEADERS *.h)
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
IF (NOT USE_KDE4)
|
#
|
||||||
KDE3_AUTOMOC(${libkbfxplasmadatastubsrc})
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
ADD_LIBRARY(kbfxplasmadatastub SHARED ${libkbfxplasmadatastubsrc})
|
#################################################
|
||||||
SET_TARGET_PROPERTIES(kbfxplasmadatastub
|
|
||||||
PROPERTIES
|
include_directories(
|
||||||
COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
|
${TQT_INCLUDE_DIRS}
|
||||||
# SET_TARGET_PROPERTIES(kbfxplasmadatastub PROPERTIES
|
${TDE_INCLUDE_DIR}
|
||||||
# SOVERSION ${LIB_MAJOR}
|
${CMAKE_BINARY_DIR}
|
||||||
# VERSION ${APPLICATION_VERSION})
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
TARGET_LINK_LIBRARIES(kbfxplasmadatastub
|
${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}
|
|
||||||
)
|
|
||||||
|
##### kbfxplasmadatastub #########################
|
||||||
KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins)
|
|
||||||
ELSE (NOT USE_KDE4)
|
set( target kbfxplasmadatastub )
|
||||||
KDE4_AUTOMOC(${libkbfxplasmadatastubsrc})
|
|
||||||
|
set( ${target}_SRCS
|
||||||
KDE4_ADD_LIBRARY(kbfxplasmadatastub SHARED ${libkbfxplasmadatastubsrc})
|
kbfxplasmadataplugin.cpp
|
||||||
TARGET_LINK_LIBRARIES(kbfxplasmadatastub
|
)
|
||||||
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(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins)
|
|
||||||
ENDIF (NOT USE_KDE4)
|
##### headers #######################################
|
||||||
|
|
||||||
INSTALL(TARGETS kbfxplasmadatastub 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)
|
||||||
|
Loading…
Reference in new issue