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

34 lines
763 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
settings/gm_settings.cpp
settings/gm_settingslistdelegate.cpp
settings/gm_settingsscriptinfo.cpp
settings/gm_settingslistwidget.cpp
gm_icon.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)