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.
23 lines
458 B
Prolog
23 lines
458 B
Prolog
1 year ago
|
#This project file links with QsLog dynamically and outputs a shared object.
|
||
|
|
||
|
QT -= gui
|
||
|
|
||
|
TARGET = log_example_shared
|
||
|
TEMPLATE = lib
|
||
|
|
||
|
DEFINES += EXAMPLE_IS_SHARED_LIBRARY QSLOG_IS_SHARED_LIBRARY_IMPORT
|
||
|
SOURCES += log_example_shared.cpp
|
||
|
HEADERS += log_example_shared.h
|
||
|
INCLUDEPATH += $$PWD/../
|
||
|
DESTDIR = $$PWD/../build-QsLogExample
|
||
|
OBJECTS_DIR = $$DESTDIR/obj
|
||
|
|
||
|
LIBS += -L$$PWD/../build-QsLogShared
|
||
|
win32 {
|
||
|
LIBS += -lQsLog2
|
||
|
} else {
|
||
|
LIBS += -lQsLog
|
||
|
}
|
||
|
|
||
|
|