diff --git a/client.pro b/client.pro index 2ba0b8bea..3d700b699 100644 --- a/client.pro +++ b/client.pro @@ -43,7 +43,6 @@ equals(WITH_DRIVER_XPLANE, ON) { equals(WITH_SAMPLES, ON) { SUBDIRS += samples/cli_client/sample_cli_client.pro SUBDIRS += samples/interpolator/sample_interpolator.pro - SUBDIRS += samples/logging/sample_logging.pro SUBDIRS += samples/plugin/sample_plugin.pro SUBDIRS += samples/pluginmgr/sample_pluginmgr.pro SUBDIRS += samples/blackmiscvectorgeo/sample_vector_geo.pro diff --git a/samples/logging/CMakeLists.txt b/samples/logging/CMakeLists.txt deleted file mode 100644 index ca4e75148..000000000 --- a/samples/logging/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -FILE(GLOB SRC *.cpp) - -ADD_EXECUTABLE(sample_logging ${SRC}) - -TARGET_LINK_LIBRARIES(sample_logging blackmisc ${QT_LIBRARIES}) -SET_TARGET_PROPERTIES(sample_logging PROPERTIES PROJECT_LABEL "Samples - Logging") \ No newline at end of file diff --git a/samples/logging/main.cpp b/samples/logging/main.cpp deleted file mode 100644 index 05aa9089d..000000000 --- a/samples/logging/main.cpp +++ /dev/null @@ -1,22 +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 ctx; - BlackMisc::IContext::setInstance(ctx); - BlackMisc::CDebug debug; - ctx.setObject(debug); - - 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 e5194585f..000000000 --- a/samples/logging/sample_logging.pro +++ /dev/null @@ -1,23 +0,0 @@ -QT += core -QT -= gui - -TARGET = sample_logging -TEMPLATE = app - -CONFIG += console c++11 -CONFIG -= app_bundle - -DEPENDPATH += . ../../src -INCLUDEPATH += . ../../src - -SOURCES += *.cpp - -LIBS += -L../../lib -lblackmisc - -win32:!win32-g++*: PRE_TARGETDEPS += ../../lib/blackmisc.lib -else: PRE_TARGETDEPS += ../../lib/libblackmisc.a - -DESTDIR = ../../bin - - -