bap-poc-phase-3/Interop-ModuleMap/Package.swift

25 lines
741 B
Swift

// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Interop-ModuleMap",
platforms: [.macOS(.v15)],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "CMath",
path: "Sources/CMath",
cSettings: [
.headerSearchPath("include")
]
),
.executableTarget(
name: "Interop-ModuleMap",
dependencies: ["CMath"]
),
]
)