Changeset View
Changeset View
Standalone View
Standalone View
gemini/cloud/dropbox/CMakeLists.txt
1 | set(dropbox_lib_SRCS | 1 | set(dropbox_lib_SRCS | ||
---|---|---|---|---|---|
2 | 3rdparty/droprestapi.cc | 2 | 3rdparty/droprestapi.cc | ||
3 | 3rdparty/filetransferitem.cc | 3 | 3rdparty/filetransferitem.cc | ||
4 | 3rdparty/folderitem.cc | 4 | 3rdparty/folderitem.cc | ||
5 | 3rdparty/json.cc | 5 | 3rdparty/json.cc | ||
6 | 3rdparty/listmodel.cc | 6 | 3rdparty/listmodel.cc | ||
7 | 3rdparty/networkcontroller.cc | 7 | 3rdparty/networkcontroller.cc | ||
8 | 3rdparty/oauth.cc | 8 | 3rdparty/oauth.cc | ||
9 | 3rdparty/options.cc | 9 | 3rdparty/options.cc | ||
10 | ) | 10 | ) | ||
11 | 11 | | |||
12 | set(dropbox_plugin_SRCS | 12 | set(dropbox_plugin_SRCS | ||
13 | controller.cc | 13 | controller.cc | ||
14 | dropboxplugin.cpp) | 14 | dropboxplugin.cpp) | ||
15 | 15 | | |||
16 | if(WIN32) | ||||
17 | add_library(calligrageminidropboxplugin MODULE ${dropbox_plugin_SRCS} ${dropbox_lib_SRCS}) | ||||
18 | else() | ||||
16 | add_library(calligrageminidropboxplugin SHARED ${dropbox_plugin_SRCS} ${dropbox_lib_SRCS}) | 19 | add_library(calligrageminidropboxplugin SHARED ${dropbox_plugin_SRCS} ${dropbox_lib_SRCS}) | ||
20 | endif() | ||||
17 | 21 | | |||
18 | target_link_libraries(calligrageminidropboxplugin | 22 | target_link_libraries(calligrageminidropboxplugin | ||
19 | Qt5::Core | 23 | Qt5::Core | ||
20 | Qt5::Gui | 24 | Qt5::Gui | ||
21 | Qt5::Widgets | 25 | Qt5::Widgets | ||
22 | Qt5::Qml | 26 | Qt5::Qml | ||
23 | Qt5::Quick | 27 | Qt5::Quick | ||
24 | ) | 28 | ) | ||
25 | 29 | | |||
26 | install(TARGETS calligrageminidropboxplugin DESTINATION ${QML_INSTALL_DIR}/Calligra/Gemini/Dropbox) | 30 | install(TARGETS calligrageminidropboxplugin DESTINATION ${QML_INSTALL_DIR}/Calligra/Gemini/Dropbox) | ||
27 | install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/Calligra/Gemini/Dropbox) | 31 | install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/Calligra/Gemini/Dropbox) |