2016-04-27 22:05:36 +00:00
|
|
|
include_directories(
|
|
|
|
${KDE4_KPARTS_INCLUDES}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2016-04-28 02:27:18 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/..
|
2022-10-15 01:16:11 +03:00
|
|
|
${CMAKE_SOURCE_DIR}/kutils/kemail
|
|
|
|
${CMAKE_BINARY_DIR}/kutils/kemail
|
2016-04-27 22:05:36 +00:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(ktexteditor_LIB_SRCS
|
2015-09-01 01:05:33 +03:00
|
|
|
ktexteditor.cpp
|
|
|
|
document.cpp
|
|
|
|
range.cpp
|
|
|
|
cursor.cpp
|
|
|
|
templateinterface.cpp
|
|
|
|
editorchooser.cpp
|
|
|
|
attribute.cpp
|
|
|
|
codecompletioninterface.cpp
|
|
|
|
codecompletionmodel.cpp
|
|
|
|
codecompletionmodelcontrollerinterface.cpp
|
|
|
|
configinterface.cpp
|
|
|
|
highlightinterface.cpp
|
|
|
|
movinginterface.cpp
|
|
|
|
movingcursor.cpp
|
|
|
|
movingrange.cpp
|
|
|
|
movingrangefeedback.cpp
|
|
|
|
messageinterface.cpp
|
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2023-06-10 23:05:53 +03:00
|
|
|
add_library(ktexteditor SHARED ${ktexteditor_LIB_SRCS})
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2016-09-03 00:05:54 +00:00
|
|
|
target_link_libraries(ktexteditor
|
2015-09-01 01:05:33 +03:00
|
|
|
${QT_QTDBUS_LIBRARY}
|
2023-06-17 20:25:52 +03:00
|
|
|
kdecore
|
|
|
|
kparts
|
|
|
|
kemail
|
2015-09-01 01:05:33 +03:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2015-09-01 01:05:33 +03:00
|
|
|
set_target_properties(ktexteditor PROPERTIES
|
|
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
2014-11-13 01:04:59 +02:00
|
|
|
)
|
2015-10-31 05:10:27 +02:00
|
|
|
install(
|
|
|
|
TARGETS ktexteditor
|
2023-06-17 23:57:38 +03:00
|
|
|
EXPORT kdelibsTargets
|
2023-06-17 09:11:52 +03:00
|
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
2015-10-31 05:10:27 +02:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
########### install files ###############
|
2016-04-27 18:43:11 +00:00
|
|
|
|
|
|
|
generate_export_header(ktexteditor)
|
|
|
|
|
2015-10-31 05:10:27 +02:00
|
|
|
install(
|
|
|
|
FILES
|
2016-04-27 18:43:11 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/ktexteditor_export.h
|
2014-11-13 01:04:59 +02:00
|
|
|
factory.h
|
|
|
|
editor.h
|
|
|
|
document.h
|
|
|
|
view.h
|
|
|
|
plugin.h
|
|
|
|
cursor.h
|
|
|
|
range.h
|
|
|
|
configpage.h
|
|
|
|
searchinterface.h
|
|
|
|
markinterface.h
|
|
|
|
sessionconfiginterface.h
|
|
|
|
editorchooser.h
|
|
|
|
texthintinterface.h
|
|
|
|
variableinterface.h
|
|
|
|
templateinterface.h
|
|
|
|
modificationinterface.h
|
|
|
|
commandinterface.h
|
|
|
|
attribute.h
|
|
|
|
codecompletioninterface.h
|
|
|
|
codecompletionmodel.h
|
|
|
|
codecompletionmodelcontrollerinterface.h
|
|
|
|
configinterface.h
|
|
|
|
containerinterface.h
|
|
|
|
annotationinterface.h
|
|
|
|
highlightinterface.h
|
|
|
|
modeinterface.h
|
|
|
|
movinginterface.h
|
|
|
|
movingcursor.h
|
|
|
|
movingrange.h
|
|
|
|
movingrangefeedback.h
|
|
|
|
recoveryinterface.h
|
|
|
|
messageinterface.h
|
2021-02-26 20:15:41 +02:00
|
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ktexteditor
|
2015-09-01 01:05:33 +03:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2015-10-31 05:10:27 +02:00
|
|
|
install(
|
|
|
|
FILES
|
2015-09-01 01:05:33 +03:00
|
|
|
kcm_ktexteditor.desktop
|
2021-02-26 20:15:41 +02:00
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kcm_componentchooser
|
2015-09-01 01:05:33 +03:00
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2015-10-31 05:10:27 +02:00
|
|
|
install(
|
|
|
|
FILES
|
|
|
|
ktexteditor.desktop
|
|
|
|
ktexteditorplugin.desktop
|
2021-02-26 20:15:41 +02:00
|
|
|
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
|
2015-09-01 01:05:33 +03:00
|
|
|
)
|