mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
swiftPM for macos
This commit is contained in:
parent
1e2695839a
commit
ac815cd695
28
submodules/ManagedFile/Package.swift
Normal file
28
submodules/ManagedFile/Package.swift
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
// swift-tools-version:5.5
|
||||||
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||||
|
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "ManagedFile",
|
||||||
|
platforms: [.macOS(.v10_11)],
|
||||||
|
products: [
|
||||||
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
||||||
|
.library(
|
||||||
|
name: "ManagedFile",
|
||||||
|
targets: ["ManagedFile"]),
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
// Dependencies declare other packages that this package depends on.
|
||||||
|
// .package(url: /* package url */, from: "1.0.0"),
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
||||||
|
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
||||||
|
.target(
|
||||||
|
name: "ManagedFile",
|
||||||
|
dependencies: [],
|
||||||
|
path: ".",
|
||||||
|
exclude: ["BUILD"]),
|
||||||
|
]
|
||||||
|
)
|
@ -19,6 +19,7 @@ let package = Package(
|
|||||||
.package(name: "Crc32", path: "../Crc32"),
|
.package(name: "Crc32", path: "../Crc32"),
|
||||||
.package(name: "sqlcipher", path: "../sqlcipher"),
|
.package(name: "sqlcipher", path: "../sqlcipher"),
|
||||||
.package(name: "StringTransliteration", path: "../StringTransliteration"),
|
.package(name: "StringTransliteration", path: "../StringTransliteration"),
|
||||||
|
.package(name: "ManagedFile", path: "../ManagedFile"),
|
||||||
.package(name: "SSignalKit", path: "../SSignalKit"),
|
.package(name: "SSignalKit", path: "../SSignalKit"),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
@ -28,6 +29,7 @@ let package = Package(
|
|||||||
name: "Postbox",
|
name: "Postbox",
|
||||||
dependencies: [.product(name: "MurMurHash32", package: "MurMurHash32", condition: nil),
|
dependencies: [.product(name: "MurMurHash32", package: "MurMurHash32", condition: nil),
|
||||||
.product(name: "SwiftSignalKit", package: "SSignalKit", condition: nil),
|
.product(name: "SwiftSignalKit", package: "SSignalKit", condition: nil),
|
||||||
|
.product(name: "ManagedFile", package: "ManagedFile", condition: nil),
|
||||||
.product(name: "sqlcipher", package: "sqlcipher", condition: nil),
|
.product(name: "sqlcipher", package: "sqlcipher", condition: nil),
|
||||||
.product(name: "StringTransliteration", package: "StringTransliteration", condition: nil),
|
.product(name: "StringTransliteration", package: "StringTransliteration", condition: nil),
|
||||||
.product(name: "Crc32", package: "Crc32", condition: nil)],
|
.product(name: "Crc32", package: "Crc32", condition: nil)],
|
||||||
|
32
submodules/YuvConversion/Package.swift
Normal file
32
submodules/YuvConversion/Package.swift
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
// swift-tools-version:5.5
|
||||||
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||||
|
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "YuvConversion",
|
||||||
|
platforms: [.macOS(.v10_11)],
|
||||||
|
products: [
|
||||||
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
||||||
|
.library(
|
||||||
|
name: "YuvConversion",
|
||||||
|
targets: ["YuvConversion"]),
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
// Dependencies declare other packages that this package depends on.
|
||||||
|
// .package(url: /* package url */, from: "1.0.0"),
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
||||||
|
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
||||||
|
.target(
|
||||||
|
name: "YuvConversion",
|
||||||
|
dependencies: [],
|
||||||
|
path: ".",
|
||||||
|
exclude: ["BUILD"],
|
||||||
|
publicHeadersPath: "PublicHeaders",
|
||||||
|
cSettings: [
|
||||||
|
.headerSearchPath("PublicHeaders")
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user