Changeset View
Changeset View
Standalone View
Standalone View
KexiProducts.cmake
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | |||||
53 | # For defining new products see end of this file, "How to add another product?" | 53 | # For defining new products see end of this file, "How to add another product?" | ||
54 | 54 | | |||
55 | # IDEA: also add headers/sdk for all the libs ("_DEVEL"?) | 55 | # IDEA: also add headers/sdk for all the libs ("_DEVEL"?) | ||
56 | # IDEA: note external deps for products, so they are only checked if needed | 56 | # IDEA: note external deps for products, so they are only checked if needed | ||
57 | # There can be required or optional external deps, required will also result | 57 | # There can be required or optional external deps, required will also result | ||
58 | # in automatic disabling of product building | 58 | # in automatic disabling of product building | ||
59 | # TODO: some products have multiple optional requirements, but need at least one. | 59 | # TODO: some products have multiple optional requirements, but need at least one. | ||
60 | # See APP_CONVERTER, FILEMANAGER_* | 60 | # See APP_CONVERTER, FILEMANAGER_* | ||
61 | 61 | | |||
62 | # features | | |||
63 | calligra_define_feature(FEATURE_SCRIPTING "Scripting feature" UNPORTED) # TODO | | |||
64 | | ||||
65 | # products | 62 | # products | ||
staniek: This line comes from the Calligra times, they meant Calligra-wide scripting support.
I propose… | |||||
66 | calligra_define_product(KEXI_CORE_APP "Kexi core app" REQUIRES) | 63 | calligra_define_product(KEXI_CORE_APP "Kexi core app" REQUIRES) | ||
67 | calligra_define_product(KEXI_DESKTOP_APP "Kexi for desktop" REQUIRES KEXI_CORE_APP) | 64 | calligra_define_product(KEXI_DESKTOP_APP "Kexi for desktop" REQUIRES KEXI_CORE_APP) | ||
68 | calligra_define_product(KEXI_MOBILE_APP "Kexi for mobile" REQUIRES KEXI_CORE_APP) | 65 | calligra_define_product(KEXI_MOBILE_APP "Kexi for mobile" REQUIRES KEXI_CORE_APP) | ||
69 | 66 | | |||
70 | # more plugins | 67 | # more plugins | ||
71 | calligra_define_product(PLUGIN_KEXI_SPREADSHEETMIGRATION "Import from ODS plugin for Kexi" UNPORTED REQUIRES KEXI_CORE_APP) | 68 | calligra_define_product(PLUGIN_KEXI_SPREADSHEETMIGRATION "Import from ODS plugin for Kexi" UNPORTED REQUIRES KEXI_CORE_APP) | ||
72 | 69 | | |||
73 | ############################################# | 70 | ############################################# | ||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |
This line comes from the Calligra times, they meant Calligra-wide scripting support.
I propose to remove the line completely and just skip using calligra_define_feature() to simplify the logic. Remove SHOULD_BUILD_FEATURE_SCRIPTING from src/plugins/CMakeLists.txt conditions too and just use KEXI_SCRIPTS_SUPPORT.