-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
36 lines (33 loc) · 968 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// swift-tools-version:5.4
/**
* Copyright (c) 2020 - 2021 Dustin Collins (Strega's Gate)
* All Rights Reserved.
* Licensed under Apache License v2.0
*
* Find me on https://www.YouTube.com/STREGAsGate, or social media @STREGAsGate
*/
import PackageDescription
let package = Package(
name: "Direct3D12",
products: [
.library(name: "Direct3D12", targets: ["Direct3D12"]),
],
dependencies: [
],
targets: [
.target(
name: "Direct3D12",
swiftSettings: [
.define("Direct3D12ExcludeOriginalStyleAPI", .when(configuration: .release)),
],
linkerSettings: [
.linkedLibrary("User32"),
.linkedLibrary("Ole32"),
.linkedLibrary("PortableDeviceGuids"),
.linkedLibrary("DXGI"),
.linkedLibrary("D3D12"),
.linkedLibrary("D3DCompiler"),
]
),
]
)