Changeset View
Changeset View
Standalone View
Standalone View
addons/CMakeLists.txt
1 | # detect additional frameworks | 1 | find_package( | ||
---|---|---|---|---|---|
2 | find_package(KF5 "${KF5_DEP_VERSION}" OPTIONAL_COMPONENTS Wallet Plasma Service ItemModels ThreadWeaver NewStuff IconThemes GuiAddons) | 2 | KF5 ${KF5_DEP_VERSION} | ||
3 | OPTIONAL_COMPONENTS | ||||
4 | GuiAddons | ||||
5 | IconThemes | ||||
6 | ItemModels | ||||
7 | NewStuff | ||||
8 | Plasma | ||||
9 | Service | ||||
10 | Wallet | ||||
11 | ThreadWeaver | ||||
12 | ) | ||||
3 | 13 | | |||
4 | set_package_properties(KF5Wallet PROPERTIES PURPOSE "Required to build the katesql addon") | 14 | set_package_properties(KF5Wallet PROPERTIES PURPOSE "Required to build the katesql addon") | ||
5 | set_package_properties(KF5Plasma PROPERTIES PURPOSE "Required to build the sessionapplet addon") | 15 | set_package_properties(KF5Plasma PROPERTIES PURPOSE "Required to build the sessionapplet addon") | ||
Context not available. | |||||
8 | set_package_properties(KF5ThreadWeaver PROPERTIES PURPOSE "Required to build the project addon") | 18 | set_package_properties(KF5ThreadWeaver PROPERTIES PURPOSE "Required to build the project addon") | ||
9 | set_package_properties(KF5NewStuff PROPERTIES PURPOSE "Required to build the snippets and project addons") | 19 | set_package_properties(KF5NewStuff PROPERTIES PURPOSE "Required to build the snippets and project addons") | ||
10 | 20 | | |||
11 | # document switcher | 21 | ecm_optional_add_subdirectory(filetree) # document switcher | ||
12 | ecm_optional_add_subdirectory (filetree) | 22 | ecm_optional_add_subdirectory(search) # Search in open documents and files. | ||
13 | 23 | ecm_optional_add_subdirectory(tabswitcher) # ALT+Tab like tab switcher | |||
14 | # search in open documents and files | 24 | ecm_optional_add_subdirectory(kate-ctags) # ctags | ||
15 | ecm_optional_add_subdirectory (search) | 25 | ecm_optional_add_subdirectory(backtracebrowser) # backtrace | ||
16 | 26 | ecm_optional_add_subdirectory(filebrowser) # file browser | |||
17 | # ALT+Tab like tab switcher | 27 | ecm_optional_add_subdirectory(xmltools) # XML completion | ||
18 | ecm_optional_add_subdirectory (tabswitcher) | 28 | ecm_optional_add_subdirectory(xmlcheck) # XML Validation plugin | ||
19 | 29 | ecm_optional_add_subdirectory(openheader) # Open header matching to current file. | |||
20 | # ctags | 30 | ecm_optional_add_subdirectory(symbolviewer) # List symbols and functions in a file. | ||
21 | ecm_optional_add_subdirectory (kate-ctags) | 31 | ecm_optional_add_subdirectory(replicode) # replicode integration | ||
22 | 32 | ecm_optional_add_subdirectory(textfilter) # Pipe text through some external command. | |||
23 | # backtrace | 33 | ecm_optional_add_subdirectory(rustcompletion) # Rust complection plugin | ||
24 | ecm_optional_add_subdirectory (backtracebrowser) | 34 | ecm_optional_add_subdirectory(lumen) # D completion plugin | ||
25 | 35 | ecm_optional_add_subdirectory(lspclient) # Language Server Protocol (LSP) client plugin. | |||
26 | # file browser | 36 | ecm_optional_add_subdirectory(katebuild-plugin) # build plugin | ||
27 | ecm_optional_add_subdirectory (filebrowser) | 37 | ecm_optional_add_subdirectory(close-except-like) # Close document except this one (or similar). | ||
28 | 38 | ecm_optional_add_subdirectory (preview) # Live preview of sources in target format. | |||
29 | # xml completion | 39 | | ||
30 | ecm_optional_add_subdirectory (xmltools) | 40 | if(NOT WIN32) | ||
31 | 41 | ecm_optional_add_subdirectory(gdbplugin) # Debugger plugin. Hasn't been ported to Windows yet. | |||
32 | # XML Validation plugin | 42 | endif() | ||
33 | ecm_optional_add_subdirectory (xmlcheck) | | |||
34 | | ||||
35 | # open header matching to current file | | |||
36 | ecm_optional_add_subdirectory (openheader) | | |||
37 | | ||||
38 | # debugger plugin, needs windows love, guarded until ported to win32 | | |||
39 | if (NOT WIN32) | | |||
40 | ecm_optional_add_subdirectory (gdbplugin) | | |||
41 | endif () | | |||
42 | | ||||
43 | # list symbols and functions in a file | | |||
44 | ecm_optional_add_subdirectory (symbolviewer) | | |||
45 | | ||||
46 | # replicode integration | | |||
47 | ecm_optional_add_subdirectory (replicode) | | |||
48 | | ||||
49 | # pipe text through some external command | | |||
50 | ecm_optional_add_subdirectory (textfilter) | | |||
51 | | ||||
52 | # Rust complection plugin | | |||
53 | ecm_optional_add_subdirectory (rustcompletion) | | |||
54 | | ||||
55 | # D completion plugin | | |||
56 | ecm_optional_add_subdirectory (lumen) | | |||
57 | | ||||
58 | # LSP client plugin | | |||
59 | ecm_optional_add_subdirectory (lspclient) | | |||
60 | | ||||
61 | # build plugin | | |||
62 | ecm_optional_add_subdirectory (katebuild-plugin) | | |||
63 | | ||||
64 | # close document except this one (or similar) | | |||
65 | ecm_optional_add_subdirectory (close-except-like) | | |||
66 | 43 | | |||
67 | if(KF5Wallet_FOUND) | 44 | if(KF5Wallet_FOUND) | ||
68 | # kate sql | 45 | ecm_optional_add_subdirectory(katesql) # kate sql | ||
69 | ecm_optional_add_subdirectory (katesql) | | |||
70 | endif() | 46 | endif() | ||
71 | 47 | | |||
72 | if(KF5NewStuff_FOUND) | 48 | if(KF5NewStuff_FOUND) | ||
73 | # snippets | 49 | ecm_optional_add_subdirectory (snippets) # snippets | ||
74 | ecm_optional_add_subdirectory (snippets) | | |||
75 | endif() | 50 | endif() | ||
76 | 51 | | |||
77 | # live preview of sources in target format | | |||
78 | ecm_optional_add_subdirectory (preview) | | |||
79 | | ||||
80 | # terminal tool view | | |||
81 | if(KF5Service_FOUND AND NOT WIN32) | 52 | if(KF5Service_FOUND AND NOT WIN32) | ||
82 | ecm_optional_add_subdirectory (konsole) | 53 | ecm_optional_add_subdirectory (konsole) # terminal tool view | ||
83 | endif() | 54 | endif() | ||
84 | 55 | | |||
85 | if(KF5ItemModels_FOUND AND KF5ThreadWeaver_FOUND AND KF5NewStuff_FOUND) | 56 | if(KF5ItemModels_FOUND AND KF5ThreadWeaver_FOUND AND KF5NewStuff_FOUND) | ||
86 | # small & smart project manager | 57 | ecm_optional_add_subdirectory (project) # Small & smart project manager. | ||
87 | ecm_optional_add_subdirectory (project) | | |||
88 | endif() | 58 | endif() | ||
89 | 59 | | |||
90 | if (KF5Plasma_FOUND AND KF5Service_FOUND) | 60 | if(KF5Plasma_FOUND AND KF5Service_FOUND) | ||
91 | ecm_optional_add_subdirectory (sessionapplet) | 61 | ecm_optional_add_subdirectory (sessionapplet) | ||
92 | endif() | 62 | endif() | ||
Context not available. |