Commit 603a5e0f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Autogenerate debug file + add debug categories file

parent 4f410796
......@@ -173,4 +173,5 @@ endif()
add_subdirectory(templates)
install( FILES plasma-workspace.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
......@@ -15,7 +15,6 @@ endif()
########### next target ###############
set(ksmserver_KDEINIT_SRCS
ksmserver_debug.cpp
main.cpp
server.cpp
legacy.cpp
......@@ -24,6 +23,7 @@ set(ksmserver_KDEINIT_SRCS
shutdown.cpp
client.cpp
)
ecm_qt_declare_logging_category(ksmserver_KDEINIT_SRCS HEADER ksmserver_debug.h IDENTIFIER KSMSERVER CATEGORY_NAME org.kde.kf5.ksmserver)
set(kcminit_adaptor ${plasma-workspace_SOURCE_DIR}/startkde/kcminit/main.h)
set(kcminit_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KCMinit.xml)
......
/* This file is part of the KDE project
Copyright (C) 2014 Hrvoje Senjan <hrvoje.senjan@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "ksmserver_debug.h"
Q_LOGGING_CATEGORY(KSMSERVER, "ksmserver")
/* This file is part of the KDE project
Copyright (C) 2014 Hrvoje Senjan <hrvoje.senjan@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef KSMSERVER_DEBUG_H
#define KSMSERVER_DEBUG_H
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(KSMSERVER)
#endif
org.kde.kf5.ksmserver ksmserver (ksmserver)
Supports Markdown
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