mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Move QsLog to third_party directory
This commit is contained in:
35
third_party/QsLog/QsLogSharedLibrary.pro
vendored
Normal file
35
third_party/QsLog/QsLogSharedLibrary.pro
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
# This pro file will build QsLog as a shared library
|
||||
include(QsLog.pri)
|
||||
|
||||
TARGET = QsLog
|
||||
VERSION = "2.0.0"
|
||||
QT -= gui
|
||||
CONFIG -= console
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += shared
|
||||
TEMPLATE = lib
|
||||
|
||||
DESTDIR = $$PWD/build-QsLogShared
|
||||
OBJECTS_DIR = $$DESTDIR/obj
|
||||
MOC_DIR = $$DESTDIR/moc
|
||||
|
||||
win32 {
|
||||
DEFINES += QSLOG_IS_SHARED_LIBRARY
|
||||
}
|
||||
|
||||
unix:!macx {
|
||||
# make install will install the shared object in the appropriate folders
|
||||
headers.files = QsLog.h QsLogDest.h QsLogLevel.h
|
||||
headers.path = /usr/include/$(QMAKE_TARGET)
|
||||
|
||||
other_files.files = *.txt
|
||||
other_files.path = /usr/local/share/$(QMAKE_TARGET)
|
||||
|
||||
contains(QT_ARCH, x86_64) {
|
||||
target.path = /usr/lib64
|
||||
} else {
|
||||
target.path = /usr/lib
|
||||
}
|
||||
|
||||
INSTALLS += headers target other_files
|
||||
}
|
Reference in New Issue
Block a user