Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
f8266036
Commit
f8266036
authored
Feb 17, 2021
by
Laurent Montel
😁
Browse files
Add more unity support
parent
69fafacb
Pipeline
#51314
canceled with stage
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerplugins/common/expandurlplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -11,7 +11,9 @@ ecm_qt_declare_logging_category(messageviewer_expandurlplugin_SRCS HEADER expand
kcoreaddons_add_plugin
(
messageviewer_expandurlplugin JSON messageviewer_expandurlplugin.json SOURCES
${
messageviewer_expandurlplugin_SRCS
}
INSTALL_NAMESPACE messageviewer/viewercommonplugin
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
messageviewer_expandurlplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
messageviewer_expandurlplugin
KF5::MessageViewer KF5::XmlGui KF5::Libkdepim KF5::I18n
)
...
...
plugins/messageviewerplugins/common/translatorplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -5,6 +5,9 @@ set(messageviewer_translatorplugin_SRCS
kcoreaddons_add_plugin
(
messageviewer_translatorplugin JSON messageviewer_translatorplugin.json SOURCES
${
messageviewer_translatorplugin_SRCS
}
INSTALL_NAMESPACE messageviewer/viewercommonplugin
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
messageviewer_translatorplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
messageviewer_translatorplugin
KF5::MessageViewer KF5::XmlGui KF5::PimTextEdit KF5::I18n
...
...
plugins/messageviewerplugins/createeventplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -16,6 +16,9 @@ ecm_qt_declare_logging_category(messageviewer_createeventplugin_SRCS HEADER crea
kcoreaddons_add_plugin
(
messageviewer_createeventplugin JSON messageviewer_createeventplugin.json SOURCES
${
messageviewer_createeventplugin_SRCS
}
INSTALL_NAMESPACE messageviewer/viewerplugin
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
messageviewer_createeventplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
messageviewer_createeventplugin
KF5::MessageViewer KF5::XmlGui KF5::CalendarCore KF5::IncidenceEditor KF5::AkonadiWidgets KF5::CalendarSupport
...
...
plugins/messageviewerplugins/createnoteplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -13,6 +13,9 @@ ecm_qt_declare_logging_category(messageviewer_createnoteplugin_SRCS HEADER creat
kcoreaddons_add_plugin
(
messageviewer_createnoteplugin JSON messageviewer_createnoteplugin.json SOURCES
${
messageviewer_createnoteplugin_SRCS
}
INSTALL_NAMESPACE messageviewer/viewerplugin
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
messageviewer_createnoteplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
messageviewer_createnoteplugin
...
...
plugins/messageviewerplugins/createtodoplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -13,6 +13,9 @@ ecm_qt_declare_logging_category(messageviewer_createtodoplugin_SRCS HEADER creat
kcoreaddons_add_plugin
(
messageviewer_createtodoplugin JSON messageviewer_createtodoplugin.json SOURCES
${
messageviewer_createtodoplugin_SRCS
}
INSTALL_NAMESPACE messageviewer/viewerplugin
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
messageviewer_createtodoplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
messageviewer_createtodoplugin
...
...
plugins/messageviewerplugins/externalscriptplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -20,6 +20,9 @@ ecm_qt_declare_logging_category(messageviewer_externalscriptplugin_SRCS HEADER e
kcoreaddons_add_plugin
(
messageviewer_externalscriptplugin JSON messageviewer_externalscriptplugin.json
SOURCES
${
messageviewer_externalscriptplugin_SRCS
}
INSTALL_NAMESPACE messageviewer/viewerplugin
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
messageviewer_externalscriptplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
messageviewer_externalscriptplugin
KF5::MessageViewer KF5::XmlGui KF5::I18n KF5::PimCommon KF5::KIOWidgets
...
...
plugins/plasma/pimeventsplugin/CMakeLists.txt
View file @
f8266036
...
...
@@ -23,6 +23,9 @@ ecm_qt_declare_logging_category(loggingcategory_SRCS
set
(
pimeventsplugins_full_SRCS
${
pimeventsplugin_SRCS
}
${
loggingcategory_SRCS
}
)
kcoreaddons_add_plugin
(
pimevents JSON pimeventsplugin.json SOURCES
${
pimeventsplugins_full_SRCS
}
INSTALL_NAMESPACE plasmacalendarplugins
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
pimevents PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
pimevents
Qt5::Core
...
...
@@ -53,7 +56,9 @@ target_link_libraries(pimcalendarsplugin
KF5::CalendarCore
KF5::ConfigCore
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
pimcalendarsplugin PROPERTIES UNITY_BUILD ON
)
endif
()
install
(
TARGETS pimcalendarsplugin
DESTINATION
${
KDE_INSTALL_QMLDIR
}
/org/kde/plasma/PimCalendars
)
...
...
plugins/webengineurlinterceptor/donottrack/CMakeLists.txt
View file @
f8266036
...
...
@@ -17,6 +17,9 @@ kconfig_add_kcfg_files(webengineviewer_webengineurlinterceptor_donottrack_SRCS
kcoreaddons_add_plugin
(
webengineviewer_donottrackplugin JSON messageviewer_donottrackurlinterceptor.json SOURCES
${
webengineviewer_webengineurlinterceptor_donottrack_SRCS
}
INSTALL_NAMESPACE webengineviewer/urlinterceptor
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
webengineviewer_donottrackplugin PROPERTIES UNITY_BUILD ON
)
endif
()
target_link_libraries
(
webengineviewer_donottrackplugin
Qt5::WebEngine
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment