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
Network
KDE Connect
Commits
28b7ad0a
Commit
28b7ad0a
authored
Oct 28, 2020
by
Piyush Aggarwal
🎮
Browse files
add logging category KDECONNECT_INDICATOR to indicator
parent
bb14a772
Changes
1
Hide whitespace changes
Inline
Side-by-side
indicator/CMakeLists.txt
View file @
28b7ad0a
add_definitions
(
-DTRANSLATION_DOMAIN=\"kdeconnect-indicator\"
)
set
(
debug_file_SRCS
)
ecm_qt_declare_logging_category
(
debug_file_SRCS HEADER indicator_debug.h
IDENTIFIER KDECONNECT_INDICATOR CATEGORY_NAME kdeconnect.indicator
DEFAULT_SEVERITY Warning
EXPORT kdeconnect-kde DESCRIPTION
"kdeconnect (indicator)"
)
set
(
indicator_SRCS
main.cpp
deviceindicator.cpp
...
...
@@ -18,7 +25,8 @@ else ()
list
(
APPEND indicator_SRCS indicatorhelper.cpp
)
endif
()
add_executable
(
kdeconnect-indicator
${
indicator_SRCS
}
)
add_executable
(
kdeconnect-indicator
${
indicator_SRCS
}
${
debug_file_SRCS
}
)
target_link_libraries
(
kdeconnect-indicator Qt5::Widgets KF5::CoreAddons KF5::I18n KF5::Notifications KF5::DBusAddons KF5::KCMUtils kdeconnectinterfaces kdeconnectcore kdeconnectversion
)
if
(
WIN32
)
add_compile_definitions
(
QSYSTRAY
)
...
...
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