// swift-tools-version: 5.9

import PackageDescription

let package = Package(
    name: "MastermindPOC",
    platforms: [
        .macOS(.v14),
    ],
    products: [
        .executable(name: "MastermindPOC", targets: ["MastermindPOC"]),
        .library(name: "MastermindPOCCore", targets: ["MastermindPOCCore"]),
    ],
    targets: [
        .target(name: "MastermindPOCCore"),
        .executableTarget(
            name: "MastermindPOC",
            dependencies: ["MastermindPOCCore"],
            linkerSettings: [
                .linkedFramework("AppKit"),
                .linkedFramework("AVFoundation"),
                .linkedFramework("CoreGraphics"),
                .linkedFramework("CoreMedia"),
                .linkedFramework("CoreVideo"),
                .linkedFramework("ScreenCaptureKit"),
                .linkedFramework("SwiftUI"),
            ]
        ),
        .testTarget(
            name: "MastermindPOCCoreTests",
            dependencies: ["MastermindPOCCore"]
        ),
    ]
)
