mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-03 06:14:14 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
924 B
Swift
32 lines
924 B
Swift
// swift-tools-version:5.9
|
|
|
|
import PackageDescription
|
|
import Foundation
|
|
|
|
let packageDirectory = URL(fileURLWithPath: #filePath).deletingLastPathComponent()
|
|
let iosRoot = packageDirectory.deletingLastPathComponent().deletingLastPathComponent()
|
|
let tde2eIncludeRoot = iosRoot.appendingPathComponent("third-party/td/td/tde2e").path
|
|
|
|
let package = Package(
|
|
name: "WalletBackupCrypto",
|
|
platforms: [.macOS(.v10_13)],
|
|
products: [
|
|
.library(
|
|
name: "WalletBackupCrypto",
|
|
targets: ["WalletBackupCrypto"]),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "WalletBackupCrypto",
|
|
dependencies: [],
|
|
path: ".",
|
|
exclude: ["BUILD"],
|
|
sources: ["Sources"],
|
|
publicHeadersPath: "PublicHeaders",
|
|
cxxSettings: [
|
|
.unsafeFlags(["-I", tde2eIncludeRoot])
|
|
]),
|
|
],
|
|
cxxLanguageStandard: .cxx17
|
|
)
|