You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
484 B
Prolog

1 year ago
#This project links with QsLog dynamically and outputs an executable file.
QT -= gui
TARGET = log_example
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += log_example_main.cpp
INCLUDEPATH += $$PWD/../
DEFINES += QSLOG_IS_SHARED_LIBRARY_IMPORT
LIBS += -L$$PWD/../build-QsLogShared
win32 {
LIBS += -lQsLog2
} else {
LIBS += -lQsLog
}
LIBS += -L$$PWD/../build-QsLogExample -llog_example_shared
DESTDIR = $$PWD/../build-QsLogExample
OBJECTS_DIR = $$DESTDIR/obj