Serial-Studio/libs/CuteLogger/CuteLogger.qbs
2021-01-09 16:47:35 -08:00

33 lines
635 B
QML

import qbs
DynamicLibrary {
name: "CuteLogger"
files: [ "src/*", "include/*" ]
excludeFiles: [ "src/OutputDebugAppender.*", "src/AndroidAppender.*" ]
Group {
name: "windows-OutputDebugAppender"
condition: qbs.targetOS == "windows"
files: [ "src/OutputDebugAppender.cpp", "include/OutputDebugAppender.h" ]
}
Depends { name: "cpp" }
cpp.includePaths: "include"
cpp.defines: "CUTELOGGER_LIBRARY"
Depends { name: "Qt.core" }
Export {
Depends { name: "cpp" }
cpp.includePaths: "include"
}
Group {
qbs.install: true
qbs.installDir: "lib"
fileTagsFilter: "dynamiclibrary"
}
}