comparison mupdf-source/thirdparty/zxing-cpp/Package.swift @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
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 )