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
Graphics
Skanlite
Commits
aab03dd4
Commit
aab03dd4
authored
Nov 07, 2021
by
Laurent Montel
😁
Browse files
Use more target centric cmake code
parent
f86712d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
aab03dd4
set
(
skanlite_SRCS showimagedialog.cpp
add_executable
(
skanlite
${
skanlite_SRCS
}
)
target_sources
(
skanlite PRIVATE showimagedialog.cpp
skanlite.cpp
ImageViewer.cpp
DBusInterface.h
...
...
@@ -12,15 +13,14 @@ set(skanlite_SRCS showimagedialog.cpp
SaveLocation.h
main.cpp
)
ki18n_wrap_ui
(
skanlite
_SRCS
settings.ui SaveLocation.ui
)
ki18n_wrap_ui
(
skanlite settings.ui SaveLocation.ui
)
ecm_qt_declare_logging_category
(
skanlite
_SRCS
ecm_qt_declare_logging_category
(
skanlite
HEADER skanlite_debug.h
IDENTIFIER SKANLITE_LOG
CATEGORY_NAME org.kde.skanlite
)
add_executable
(
skanlite
${
skanlite_SRCS
}
)
target_link_libraries
(
skanlite
PUBLIC
...
...
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