Changeset View
Changeset View
Standalone View
Standalone View
ipfs/CMakeLists.txt
- This file was added.
1 | # | ||||
---|---|---|---|---|---|
2 | # Copyright (C) 2018 by Amar Lakshya <amar dot lakshya at xaviers dot edu dot in> | ||||
3 | # | ||||
4 | # Redistribution and use is allowed according to the terms of the BSD license. | ||||
5 | # For details see the accompanying COPYING-CMAKE-SCRIPTS file. | ||||
6 | | ||||
7 | subdirs(icons) | ||||
8 | | ||||
9 | add_definitions(-DTRANSLATION_DOMAIN=\"kipiplugin_ipfs\") | ||||
10 | | ||||
11 | set(kipiplugin_ipfs_PART_SRCS | ||||
12 | plugin_ipfs.cpp | ||||
13 | ipfsglobaluploadapi.cpp | ||||
14 | ipfswindow.cpp | ||||
15 | ipfsimageslist.cpp | ||||
16 | ) | ||||
17 | | ||||
18 | add_library(kipiplugin_ipfs MODULE ${kipiplugin_ipfs_PART_SRCS}) | ||||
19 | | ||||
20 | target_link_libraries(kipiplugin_ipfs | ||||
21 | Qt5::Network | ||||
22 | | ||||
23 | KF5::Kipi | ||||
24 | KF5::WindowSystem | ||||
25 | KF5::I18n | ||||
26 | | ||||
27 | KF5kipiplugins | ||||
28 | ) | ||||
29 | | ||||
30 | configure_file(kipiplugin_ipfs.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kipiplugin_ipfs.desktop) | ||||
31 | | ||||
32 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kipiplugin_ipfs.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | ||||
33 | install(TARGETS kipiplugin_ipfs DESTINATION ${PLUGIN_INSTALL_DIR}) | ||||
34 | install(FILES kipiplugin_ipfsui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kipi) |