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
KPkPass
Commits
a5daca8c
Commit
a5daca8c
authored
May 26, 2021
by
Laurent Montel
😁
Browse files
Use more target-centric cmake code
parent
7c34faf3
Pipeline
#63174
passed with stage
in 2 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
a5daca8c
set
(
KDE_INSTALL_INCLUDEDIR_PIM
${
KDE_INSTALL_INCLUDEDIR
}
/KPim
)
set
(
pkpass_srcs
add_library
(
KPimPkPass
)
add_library
(
KPim::PkPass ALIAS KPimPkPass
)
target_sources
(
KPimPkPass PRIVATE
barcode.cpp
boardingpass.cpp
field.cpp
...
...
@@ -7,16 +10,13 @@ set(pkpass_srcs
pass.cpp
)
ecm_qt_declare_logging_category
(
pkpass_src
s
ecm_qt_declare_logging_category
(
KPimPkPas
s
HEADER logging.h
IDENTIFIER KPkPass::Log
CATEGORY_NAME org.kde.pkpass
DESCRIPTION
"KPkPass"
EXPORT KPKPASS
)
add_library
(
KPimPkPass
${
pkpass_srcs
}
)
add_library
(
KPim::PkPass ALIAS KPimPkPass
)
generate_export_header
(
KPimPkPass BASE_NAME KPkPass
)
set_target_properties
(
KPimPkPass PROPERTIES
VERSION
${
KPKPASS_VERSION
}
...
...
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