add logging category KDECONNECT_INDICATOR to indicator
This commit is contained in:
parent
bb14a772cd
commit
28b7ad0a5d
1 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue