29 lines
896 B
Swift
29 lines
896 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)],
|
||
|
products: [
|
||
|
.library(name: "CMath", targets: ["CMath"]),
|
||
|
.executable(name: "Interop-ModuleMap", targets: ["Interop-ModuleMap"])
|
||
|
],
|
||
|
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"]
|
||
|
),
|
||
|
]
|
||
|
)
|