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
1a8b64d3
Commit
1a8b64d3
authored
May 26, 2021
by
Laurent Montel
😁
Browse files
Use more target-centric cmake code
parent
2baec8c1
Pipeline
#63175
passed with stage
in 52 minutes and 18 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kmail/editorconvertertextplugins/markdown/markdownlib/CMakeLists.txt
View file @
1a8b64d3
set
(
kmailmarkdownlib_SRCS
add_library
(
kmailmarkdown
)
target_sources
(
kmailmarkdown PRIVATE
markdownpreviewwidget.cpp
markdownconfigurewidget.cpp
markdownconfiguredialog.cpp
...
...
@@ -15,7 +17,6 @@ set(kmailmarkdownlib_SRCS
add_library
(
kmailmarkdown
${
kmailmarkdownlib_SRCS
}
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
kmailmarkdown PROPERTIES UNITY_BUILD ON
)
endif
()
...
...
kmail/grammarplugins/grammarcommon/CMakeLists.txt
View file @
1a8b64d3
set
(
grammarcommon_SRCS
add_library
(
grammarcommon
)
target_sources
(
grammarcommon PRIVATE
grammarerror.cpp
grammarresulttextedit.cpp
grammarresultwidget.cpp
)
ecm_qt_declare_logging_category
(
grammarcommon
_SRCS
HEADER grammarcommon_debug.h IDENTIFIER LIBGRAMMARCOMMON_LOG CATEGORY_NAME org.kde.pim.libgrammarcommon
ecm_qt_declare_logging_category
(
grammarcommon HEADER grammarcommon_debug.h IDENTIFIER LIBGRAMMARCOMMON_LOG CATEGORY_NAME org.kde.pim.libgrammarcommon
DESCRIPTION
"kdepim-addons (libgramalecte common)"
EXPORT KDEPIMADDONS
)
add_library
(
grammarcommon
${
grammarcommon_SRCS
}
)
generate_export_header
(
grammarcommon BASE_NAME grammarcommon
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
grammarcommon PROPERTIES UNITY_BUILD ON
)
...
...
kmail/grammarplugins/languagetool/src/CMakeLists.txt
View file @
1a8b64d3
set
(
kmaillanguagetool_SRCS
add_library
(
kmaillanguagetool
)
target_sources
(
kmaillanguagetool PRIVATE
languagetoolparser.cpp
languagetoolgrammarerror.cpp
languagetoolresultwidget.cpp
...
...
@@ -13,13 +14,13 @@ set(kmaillanguagetool_SRCS
languagetoolupdatecombobox.cpp
)
ecm_qt_declare_logging_category
(
kmaillanguagetool
_SRCS
HEADER liblanguagetool_debug.h IDENTIFIER LIBLANGUAGE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.liblanguagetoolplugin
ecm_qt_declare_logging_category
(
kmaillanguagetool HEADER liblanguagetool_debug.h IDENTIFIER LIBLANGUAGE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.liblanguagetoolplugin
DESCRIPTION
"kdepim-addons (liblanguagetool)"
EXPORT KDEPIMADDONS
)
add_library
(
kmaillanguagetool
${
kmaillanguagetool_SRCS
}
)
if
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT
)
set_target_properties
(
kmaillanguagetool PROPERTIES UNITY_BUILD ON
)
endif
()
...
...
Write
Preview
Markdown
is supported
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