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
David Rosca 7ce93354c8 GreaseMonkey: Add support for GreaseMonkey 4.0 API
Properly implement values functions in 4.0 API version.

Closes #2355
2018-01-11 19:12:53 +01:00

35 lines
780 B
CMake

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
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})
install(TARGETS GreaseMonkey DESTINATION ${FALKON_INSTALL_PLUGINDIR})
target_link_libraries(GreaseMonkey FalkonPrivate)