Skip to content

swift-atomics required as a library dependency. #5

@wallysaurus

Description

@wallysaurus
import PackageDescription

let package = Package(
  name: "Scenes3D",
  products: [
    // Products define the executables and libraries a package produces, and make them visible to other packages.
    .library(
      name: "Scenes3D",
      type: .dynamic,
      targets: ["Scenes3D"]),
  ],
  dependencies: [
        .package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2")
    ],
  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: "Scenes3D",
      dependencies: [.product(name: "Atomics", package: "swift-atomics")]),
  ]
)
    ]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions