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
23 lines
400 B
CMake
23 lines
400 B
CMake
set( PIM_SRCS
|
|
PIM_plugin.cpp
|
|
PIM_handler.cpp
|
|
PIM_settings.cpp
|
|
)
|
|
|
|
ecm_create_qm_loader( PIM_SRCS falkon_pim_qt )
|
|
|
|
set( PIM_UIS
|
|
PIM_settings.ui
|
|
)
|
|
qt5_wrap_ui(UIS ${PIM_UIS})
|
|
|
|
set( PIM_RSCS
|
|
PIM_res.qrc
|
|
)
|
|
qt5_add_resources(RSCS ${PIM_RSCS})
|
|
|
|
add_library(PIM MODULE ${PIM_SRCS} ${UIS} ${RSCS})
|
|
install(TARGETS PIM DESTINATION ${FALKON_INSTALL_PLUGINDIR})
|
|
target_link_libraries(PIM FalkonPrivate)
|
|
|