Commit 562bf832 authored by Laurent Montel's avatar Laurent Montel 😁

autogenerate debug file

parent 671680c6
......@@ -29,6 +29,8 @@ include(KDEInstallDirs)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(ECMAddAppIcon)
include(ECMQtDeclareLoggingCategory)
add_definitions(
-DQT_USE_FAST_CONCATENATION
......@@ -47,4 +49,6 @@ add_subdirectory(levelsets)
add_subdirectory(doc)
install(PROGRAMS org.kde.kbreakout.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.kbreakout.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install( FILES kbreakout.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
KBreakout kbreakout IDENTIFIER [KBREAKOUT_General]
......@@ -4,11 +4,11 @@ set(kbreakout_SRCS
mainwindow.cpp
canvaswidget.cpp
gameengine.cpp
kbreakout_debug.cpp
levelloader.cpp
#generalsettings.cpp
)
ecm_qt_declare_logging_category(kbreakout_SRCS HEADER kbreakout_debug.h IDENTIFIER KBREAKOUT_General CATEGORY_NAME KBreakout)
qt5_add_resources(kbreakout_SRCS kbreakout.qrc)
ki18n_wrap_ui(kbreakout_SRCS generalsettings.ui)
......
/*
Copyright 2016 Julian Helfferich <julian.helfferich@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kbreakout_debug.h"
Q_LOGGING_CATEGORY(KBREAKOUT_General, "KBreakout")
/*
Copyright 2016 Julian Helfferich <julian.helfferich@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KBREAKOUT_DEBUG_H
#define KBREAKOUT_DEBUG_H
// Define logging category
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(KBREAKOUT_General)
#endif
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