mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
b743943c70
Project files with MacOS clang RPATH to use proper paths for shared objects. Minor path updates in favor of loading plugin libs. Deployment script packaging using Qt way(macdeployqt).
44 lines
991 B
Prolog
44 lines
991 B
Prolog
#--------------------------------------------------------
|
|
#
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
#
|
|
#--------------------------------------------------------
|
|
|
|
QT += core
|
|
|
|
TEMPLATE = lib
|
|
TARGET = logging
|
|
|
|
INCLUDEPATH += $$PWD
|
|
INCLUDEPATH += ../exports
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
macx {
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
}
|
|
|
|
CONFIG(MSVC):DEFINES += logging_EXPORTS
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
# Enable very detailed debug messages when compiling the debug version
|
|
CONFIG(debug, debug|release) {
|
|
DEFINES += SUPERVERBOSE
|
|
}
|
|
|
|
HEADERS += $$PWD/logglobal.h \
|
|
$$PWD/logmessage.h \
|
|
$$PWD/logger.h \
|
|
$$PWD/filelogger.h \
|
|
$$PWD/dualfilelogger.h \
|
|
$$PWD/loggerwithfile.h
|
|
|
|
SOURCES += $$PWD/logmessage.cpp \
|
|
$$PWD/logger.cpp \
|
|
$$PWD/filelogger.cpp \
|
|
$$PWD/dualfilelogger.cpp \
|
|
$$PWD/loggerwithfile.cpp
|
|
|