Additional crashpad dependencies on macos.

This commit is contained in:
Roman Telezhynskyi 2024-03-26 20:32:02 +02:00
parent 22cbbcadfd
commit e72cebf473
3 changed files with 21 additions and 0 deletions
src
libs/vmisc
test
CollectionTest
TranslationsTest

View File

@ -14,6 +14,13 @@ VLib {
cpp.dynamicLibraries: ["Advapi32"] cpp.dynamicLibraries: ["Advapi32"]
} }
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled && qbs.targetOS.contains("macos")
cpp.libraryPaths: ["/usr/lib"]
cpp.dynamicLibraries: ["bsm"]
cpp.frameworks: ["AppKit", "Security"]
}
name: "VMiscLib" name: "VMiscLib"
files: { files: {
var files = [ var files = [

View File

@ -30,6 +30,13 @@ VTestApp {
cpp.dynamicLibraries: ["Advapi32"] cpp.dynamicLibraries: ["Advapi32"]
} }
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled && qbs.targetOS.contains("macos")
cpp.libraryPaths: ["/usr/lib"]
cpp.dynamicLibraries: ["bsm"]
cpp.frameworks: ["AppKit", "Security"]
}
name: "CollectionTest" name: "CollectionTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "CollectionTest" : "collectionTest" buildconfig.appTarget: qbs.targetOS.contains("macos") ? "CollectionTest" : "collectionTest"
targetName: buildconfig.appTarget targetName: buildconfig.appTarget

View File

@ -29,6 +29,13 @@ VTestApp {
cpp.dynamicLibraries: ["Advapi32"] cpp.dynamicLibraries: ["Advapi32"]
} }
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled && qbs.targetOS.contains("macos")
cpp.libraryPaths: ["/usr/lib"]
cpp.dynamicLibraries: ["bsm"]
cpp.frameworks: ["AppKit", "Security"]
}
name: "TranslationsTest" name: "TranslationsTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest" buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest"
targetName: buildconfig.appTarget targetName: buildconfig.appTarget