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" } }