Package.swift 451 B

1234567891011121314
  1. import PackageDescription
  2. let package = Package(
  3. name: "SwiftProtobuf",
  4. targets: [
  5. Target(name: "PluginLibrary", dependencies: ["SwiftProtobuf"]),
  6. Target(name: "protoc-gen-swift", dependencies: ["PluginLibrary", "SwiftProtobuf"]),
  7. ]
  8. )
  9. // Ensure that the dynamic library is created for the performance test harness.
  10. products.append(
  11. Product(name: "SwiftProtobuf", type: .Library(.Dynamic), modules: "SwiftProtobuf")
  12. )