Package.swift 766 B

12345678910111213141516171819202122
  1. // swift-tools-version: 5.5
  2. // The swift-tools-version declares the minimum version of Swift required to build this package.
  3. import PackageDescription
  4. let package = Package(
  5. name: "llama-batched-swift",
  6. platforms: [.macOS(.v12)],
  7. dependencies: [
  8. .package(name: "llama", path: "../../"),
  9. ],
  10. targets: [
  11. // Targets are the basic building blocks of a package, defining a module or a test suite.
  12. // Targets can depend on other targets in this package and products from dependencies.
  13. .executableTarget(
  14. name: "llama-batched-swift",
  15. dependencies: ["llama"],
  16. path: "Sources",
  17. linkerSettings: [.linkedFramework("Foundation"), .linkedFramework("AppKit")]
  18. ),
  19. ]
  20. )