Commit 28b7ad0a authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

add logging category KDECONNECT_INDICATOR to indicator

parent bb14a772
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment