mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-15 11:32:11 +01:00
c36a113219
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
28 lines
648 B
CMake
28 lines
648 B
CMake
set( TabManager_SRCS
|
|
tabmanagerplugin.cpp
|
|
tabmanagerwidget.cpp
|
|
tabmanagerwidgetcontroller.cpp
|
|
tabmanagersettings.cpp
|
|
tabmanagerdelegate.cpp
|
|
tldextractor/tldextractor.cpp
|
|
)
|
|
|
|
ecm_create_qm_loader( TabManager_SRCS falkon_tabmanager_qt )
|
|
|
|
set( TabManager_UIS
|
|
tabmanagerwidget.ui
|
|
tabmanagersettings.ui
|
|
)
|
|
qt5_wrap_ui(UIS ${TabManager_UIS})
|
|
|
|
set( TabManager_RSCS
|
|
tabmanagerplugin.qrc
|
|
tldextractor/tldextractor.qrc
|
|
)
|
|
qt5_add_resources(RSCS ${TabManager_RSCS})
|
|
|
|
add_library(TabManager MODULE ${TabManager_SRCS} ${UIS} ${RSCS})
|
|
install(TARGETS TabManager DESTINATION ${FALKON_INSTALL_PLUGINDIR})
|
|
target_link_libraries(TabManager FalkonPrivate)
|
|
|