You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
2.0 KiB
123 lines
2.0 KiB
add_subdirectory( pics )
|
|
|
|
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_BINARY_DIR}/src
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
${LIBOTR_INCLUDE_DIRS}
|
|
${KOPETE_INCLUDE_DIRS}
|
|
${KOPETE_INCLUDE_DIRS}/ui
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
${TDE_LIB_DIR}
|
|
)
|
|
|
|
|
|
##### kotr_kcfgc (static)
|
|
|
|
tde_add_library( kotr_kcfgc STATIC_PIC AUTOMOC
|
|
|
|
SOURCES
|
|
kopete_otr.kcfgc
|
|
)
|
|
|
|
|
|
##### kotr (shared)
|
|
|
|
tde_add_library( kotr SHARED AUTOMOC
|
|
|
|
SOURCES
|
|
otrplugin.cpp
|
|
otrguiclient.cpp
|
|
otrlchatinterface.cpp
|
|
otrlconfinterface.cpp
|
|
privkeypopup.cpp
|
|
privkeypopupui.ui
|
|
smppopup.cpp
|
|
smppopupui.ui
|
|
verifypopup.cpp
|
|
verifypopupui.ui
|
|
|
|
LINK
|
|
kotr_kcfgc-static
|
|
tdecore-shared
|
|
tdeui-shared
|
|
tdeio-shared
|
|
${LIBOTR_LIBRARIES}
|
|
${KOPETE_LIBRARIES}
|
|
|
|
VERSION 0.0.0
|
|
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### kcm_kopete_otr (kpart)
|
|
|
|
tde_add_kpart( kcm_kopete_otr AUTOMOC
|
|
|
|
SOURCES
|
|
otrpreferences.cpp
|
|
otrprefs.ui
|
|
LINK
|
|
kotr_kcfgc-static
|
|
kotr-shared
|
|
tdecore-shared
|
|
tdeui-shared
|
|
tdehtml-shared
|
|
${LIBOTR_LIBRARIES}
|
|
${KOPETE_LIBRARIES}
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### kopete_otr (kpart)
|
|
|
|
tde_add_kpart( ${PROJECT_NAME} AUTOMOC
|
|
|
|
SOURCES
|
|
otrplugin-factory.cpp
|
|
|
|
LINK
|
|
kotr-shared
|
|
tdecore-shared
|
|
tdeui-shared
|
|
tdehtml-shared
|
|
${LIBOTR_LIBRARIES}
|
|
${KOPETE_LIBRARIES}
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### other data
|
|
|
|
install(
|
|
FILES otrchatui.rc otrui.rc
|
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
|
)
|
|
|
|
install(
|
|
FILES kopete_otr.kcfg
|
|
DESTINATION ${KCFG_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
#### desktop files
|
|
|
|
tde_create_translated_desktop(
|
|
SOURCE kopete_otr.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
)
|
|
|
|
tde_create_translated_desktop(
|
|
SOURCE kopete_otr_config.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/tdeconfiguredialog
|
|
)
|