diff --git a/samples/Logging/main.cpp b/samples/Logging/main.cpp deleted file mode 100644 index 1ad1a607a..000000000 --- a/samples/Logging/main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include "blackmisc/debug.h" -#include "blackmisc/context.h" -#include -#include - -int main(int argc, char *argv[]) -{ - QCoreApplication a(argc, argv); - BlackMisc::CApplicationContext myApplicationContext; - - BlackMisc::IContext::getInstance().setSingleton(new BlackMisc::CDebug()); - - bAppInfo << "This is a Info log message"; - bAppWarning << "This is a bWarning log message"; - bAppError << "This is a bError log message"; - bAppDebug << "This is a bDebug log message"; - - return a.exec(); -} diff --git a/samples/Logging/sample_logging.pro b/samples/Logging/sample_logging.pro deleted file mode 100644 index d22de1cdf..000000000 --- a/samples/Logging/sample_logging.pro +++ /dev/null @@ -1,25 +0,0 @@ -QT += core -QT -= gui - -TARGET = sample_logging -TEMPLATE = app - -CONFIG += console -CONFIG -= app_bundle - -DEPENDPATH += . ../../src -INCLUDEPATH += . ../../src - -SOURCES += *.cpp - -win32-msvc* { - PRE_TARGETDEPS += ../../lib/blackmisc.lib - LIBS += ../../lib/blackmisc.lib -} - -!win32-msvc* { - PRE_TARGETDEPS += ../../lib/libblackmisc.a - LIBS += ../../lib/libblackmisc.a -} - -DESTDIR = ../../bin diff --git a/samples/Logging/CMakeLists.txt b/samples/logging/CMakeLists.txt similarity index 100% rename from samples/Logging/CMakeLists.txt rename to samples/logging/CMakeLists.txt