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 | | ||||
5 | ${KOKROSS_INCLUDES} | | |||
6 | ) | 4 | ) | ||
7 | 5 | | |||
8 | # the main plugin | 6 | # the main plugin | ||
9 | set(kexi_scriptplugin_SRCS | 7 | set(kexi_scriptplugin_SRCS | ||
10 | kexiscriptpart.cpp | 8 | kexiscriptpart.cpp | ||
11 | kexiscripteditor.cpp | 9 | kexiscripteditor.cpp | ||
12 | kexiscriptdesignview.cpp | 10 | kexiscriptdesignview.cpp | ||
13 | ) | 11 | ) | ||
14 | 12 | | |||
13 | set(krossmodulekexidb_PART_SRCS | ||||
14 | ../kexidb/kexidbmodule.cpp | ||||
15 | ../kexidb/kexidbfield.cpp | ||||
16 | ../kexidb/kexidbfieldlist.cpp | ||||
17 | ../kexidb/kexidbschema.cpp | ||||
18 | ../kexidb/kexidbparser.cpp | ||||
19 | ../kexidb/kexidbcursor.cpp | ||||
20 | ../kexidb/kexidbconnectiondata.cpp | ||||
21 | ../kexidb/kexidbconnection.cpp | ||||
22 | ../kexidb/kexidbdriver.cpp ) | ||||
23 | | ||||
24 | | ||||
15 | qt5_wrap_cpp(kexi_scriptplugin_SRCS kexiscriptadaptor.h) | 25 | qt5_wrap_cpp(kexi_scriptplugin_SRCS kexiscriptadaptor.h) | ||
16 | 26 | | |||
17 | add_library(kexi_scriptplugin MODULE ${kexi_scriptplugin_SRCS}) | 27 | add_library(kexi_scriptplugin MODULE ${kexi_scriptplugin_SRCS} ${krossmodulekexidb_PART_SRCS}) | ||
18 | kcoreaddons_desktop_to_json(kexi_scriptplugin kexi_scriptplugin.desktop) | 28 | kcoreaddons_desktop_to_json(kexi_scriptplugin kexi_scriptplugin.desktop) | ||
19 | 29 | | |||
20 | target_link_libraries(kexi_scriptplugin | 30 | target_link_libraries(kexi_scriptplugin | ||
21 | PRIVATE | 31 | PRIVATE | ||
22 | kexiextendedwidgets | 32 | kexiextendedwidgets | ||
23 | kokross | | |||
24 | kexicore | 33 | kexicore | ||
25 | 34 | Qt5::Qml | |||
26 | KF5::KIOWidgets | 35 | KF5::KIOWidgets | ||
36 | KDb | ||||
37 | KF5::ConfigCore | ||||
38 | KF5::ConfigGui | ||||
27 | ) | 39 | ) | ||
28 | install(TARGETS kexi_scriptplugin DESTINATION ${KEXI_PLUGIN_INSTALL_DIR}) | 40 | install(TARGETS kexi_scriptplugin DESTINATION ${KEXI_PLUGIN_INSTALL_DIR}) |