加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
QsLogSharedLibrary.pro 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
# 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
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化