comparison mupdf-source/thirdparty/zxing-cpp/Package.swift @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 // swift-tools-version:5.7.1
2 import PackageDescription
3
4 let package = Package(
5 name: "ZXingCpp",
6 platforms: [
7 .iOS(.v11)
8 ],
9 products: [
10 .library(
11 name: "ZXingCpp",
12 targets: ["ZXingCpp"])
13 ],
14 targets: [
15 .target(
16 name: "ZXingCppCore",
17 path: "core/src",
18 exclude: ["libzint", "ZXingC.cpp", "ZXingCpp.cpp"],
19 publicHeadersPath: ".",
20 cxxSettings: [
21 .define("ZXING_READERS")
22 ]
23 ),
24 .target(
25 name: "ZXingCpp",
26 dependencies: ["ZXingCppCore"],
27 path: "wrappers/ios/Sources/Wrapper",
28 publicHeadersPath: ".",
29 linkerSettings: [
30 .linkedFramework("CoreGraphics"),
31 .linkedFramework("CoreImage"),
32 .linkedFramework("CoreVideo")
33 ]
34 )
35 ],
36 cxxLanguageStandard: CXXLanguageStandard.gnucxx20
37 )