Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/scripting/kexiscripting/CMakeLists.txt
1 | include_directories( | 1 | include_directories( | ||
---|---|---|---|---|---|
2 | ${CMAKE_SOURCE_DIR}/src/core | 2 | ${CMAKE_SOURCE_DIR}/src/core | ||
3 | ${CMAKE_SOURCE_DIR}/src/widget | 3 | ${CMAKE_SOURCE_DIR}/src/widget | ||
4 | 4 | | |||
5 | ${KOKROSS_INCLUDES} | 5 | ${KOKROSS_INCLUDES} | ||
6 | ) | 6 | ) | ||
7 | 7 | | |||
8 | # the main plugin | 8 | # the main plugin | ||
9 | set(kexi_scriptplugin_SRCS | 9 | set(kexi_scriptplugin_SRCS | ||
10 | kexiscriptpart.cpp | 10 | kexiscriptpart.cpp | ||
11 | kexiscripteditor.cpp | 11 | kexiscripteditor.cpp | ||
12 | kexiscriptdesignview.cpp | 12 | kexiscriptdesignview.cpp | ||
13 | ) | 13 | ) | ||
14 | 14 | | |||
15 | qt5_wrap_cpp(kexi_scriptplugin_SRCS kexiscriptadaptor.h) | 15 | #qt5_wrap_cpp(kexi_scriptplugin_SRCS kexiscriptadaptor.h) | ||
16 | 16 | | |||
17 | add_library(kexi_scriptplugin MODULE ${kexi_scriptplugin_SRCS}) | 17 | add_library(kexi_scriptplugin MODULE ${kexi_scriptplugin_SRCS}) | ||
18 | kcoreaddons_desktop_to_json(kexi_scriptplugin kexi_scriptplugin.desktop) | 18 | kcoreaddons_desktop_to_json(kexi_scriptplugin kexi_scriptplugin.desktop) | ||
19 | 19 | | |||
20 | target_link_libraries(kexi_scriptplugin | 20 | target_link_libraries(kexi_scriptplugin | ||
21 | PRIVATE | 21 | PRIVATE | ||
22 | kexiextendedwidgets | 22 | kexiextendedwidgets | ||
23 | kokross | | |||
24 | kexicore | 23 | kexicore | ||
25 | 24 | Qt5::Qml | |||
26 | KF5::KIOWidgets | 25 | KF5::KIOWidgets | ||
27 | ) | 26 | ) | ||
28 | install(TARGETS kexi_scriptplugin DESTINATION ${KEXI_PLUGIN_INSTALL_DIR}) | 27 | install(TARGETS kexi_scriptplugin DESTINATION ${KEXI_PLUGIN_INSTALL_DIR}) |