1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-15 11:32:11 +01:00
falkonOfficial/src/plugins/VerticalTabs/CMakeLists.txt
Luigi Toscano c36a113219 gettext translations: extract them and use ECM to load them
Summary:
Extract the strings: one main catalog and a catalog for each plugin.
Also use the ECM macro to install the translations.

Ref T6858

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca

Tags: #falkon

Maniphest Tasks: T6858

Differential Revision: https://phabricator.kde.org/D8049
2018-02-25 00:27:41 +01:00

30 lines
746 B
CMake

set( VerticalTabs_SRCS
verticaltabsplugin.cpp
verticaltabscontroller.cpp
verticaltabswidget.cpp
verticaltabssettings.cpp
tabtreeview.cpp
tabtreedelegate.cpp
loadinganimator.cpp
tabfiltermodel.cpp
tablistview.cpp
tablistdelegate.cpp
verticaltabsschemehandler.cpp
)
ecm_create_qm_loader( VerticalTabs_SRCS falkon_verticaltabs_qt )
set( VerticalTabs_UIS
verticaltabssettings.ui
)
qt5_wrap_ui(UIS ${VerticalTabs_UIS})
set( VerticalTabs_RSCS
verticaltabs.qrc
)
qt5_add_resources(RSCS ${VerticalTabs_RSCS})
add_library(VerticalTabs MODULE ${VerticalTabs_SRCS} ${UIS} ${RSCS})
install(TARGETS VerticalTabs DESTINATION ${FALKON_INSTALL_PLUGINDIR})
target_link_libraries(VerticalTabs FalkonPrivate)