1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-16 03:52:10 +01:00
falkonOfficial/src/plugins/GreaseMonkey/CMakeLists.txt

35 lines
780 B
CMake
Raw Normal View History

2017-09-10 15:01:58 +02:00
include_directories(settings)
set( GreaseMonkey_SRCS
gm_plugin.cpp
gm_manager.cpp
gm_script.cpp
gm_downloader.cpp
gm_addscriptdialog.cpp
gm_notification.cpp
gm_icon.cpp
gm_jsobject.cpp
2017-09-10 15:01:58 +02:00
settings/gm_settings.cpp
settings/gm_settingslistdelegate.cpp
settings/gm_settingsscriptinfo.cpp
settings/gm_settingslistwidget.cpp
)
set( GreaseMonkey_UIS
gm_addscriptdialog.ui
gm_notification.ui
settings/gm_settings.ui
settings/gm_settingsscriptinfo.ui
)
qt5_wrap_ui(UIS ${GreaseMonkey_UIS})
set( GreaseMonkey_RSCS
greasemonkey.qrc
)
qt5_add_resources(RSCS ${GreaseMonkey_RSCS})
add_library(GreaseMonkey MODULE ${GreaseMonkey_SRCS} ${UIS} ${RSCS})
2017-10-27 14:08:49 +02:00
install(TARGETS GreaseMonkey DESTINATION ${FALKON_INSTALL_PLUGINDIR})
2017-09-10 15:01:58 +02:00
target_link_libraries(GreaseMonkey FalkonPrivate)