mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
33 lines
635 B
QML
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"
|
||
|
}
|
||
|
}
|