Changeset View
Changeset View
Standalone View
Standalone View
addons/externaltools/CMakeLists.txt
- This file was added.
1 | project(kateexternaltoolsplugin) | ||||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"externaltoolsplugin\") | ||||
3 | | ||||
4 | include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) | ||||
5 | | ||||
6 | set(kateexternaltoolsplugin_PART_SRCS | ||||
7 | kateexternaltoolsplugin.cpp | ||||
8 | kateexternaltools.cpp | ||||
9 | ) | ||||
10 | | ||||
11 | # resource for ui file and stuff | ||||
12 | qt5_add_resources(kateexternaltoolsplugin_PART_SRCS plugin.qrc) | ||||
13 | | ||||
14 | set(kateexternaltoolsplugin_PART_UI | ||||
15 | configwidget.ui | ||||
16 | ) | ||||
17 | ki18n_wrap_ui(kateexternaltoolsplugin_PART_SRCS ${katebacktracebrowserplugin_PART_UI} ) | ||||
18 | add_library(kateexternaltoolsplugin MODULE ${kateexternaltoolsplugin_PART_SRCS}) | ||||
19 | | ||||
20 | # we compile in the .desktop file | ||||
21 | kcoreaddons_desktop_to_json (kateexternaltoolsplugin kateexternaltoolsplugin.desktop) | ||||
22 | | ||||
23 | target_link_libraries(kateexternaltoolsplugin | ||||
24 | KF5::TextEditor | ||||
25 | KF5::I18n | ||||
26 | ) | ||||
27 | | ||||
28 | ########### install files ############### | ||||
29 | install(TARGETS kateexternaltoolsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor ) |