// swift-tools-version: 6.0
// LAME 4.0 MP3 encoder packaged as a dynamic library (LGPL-2.0). See COPYING, LICENSE and LAME-VERSION.txt.
import PackageDescription

let package = Package(
    name: "LameKit",
    platforms: [.iOS("17.0"), .macOS("14.0")],
    products: [
        .library(name: "LameKit", type: .dynamic, targets: ["CLame"])
    ],
    targets: [
        .target(
            name: "CLame",
            path: "Sources/CLame",
            cSettings: [
                .define("HAVE_CONFIG_H"),
                .headerSearchPath(".")
            ]
        )
    ]
)
