forked from SwiftGL/OpenGL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
28 lines (24 loc) · 1.11 KB
/
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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "SGLOpenGL",
products: [
.library(name: "SGLOpenGL", type: .dynamic, targets: ["SGLOpenGL"]),
.library(name: "SGLObjects", type: .dynamic, targets: ["SGLObjects"]),
.executable(name: "glgen", targets: ["glgen"]),
.library(name: "SGLEGL", type: .dynamic, targets: ["SGLEGL"]),
.executable(name: "eglgen", targets: ["eglgen"]),
],
dependencies: [
.package(url: "https://github.com/Guang1234567/SGLMath.git", .branch("master")),
.package(url: "https://github.com/Guang1234567/SGLImage.git", .branch("master"))
],
targets: [
.target(name: "glgen", dependencies: []),
.target(name: "SGLOpenGL", dependencies: []),
.target(name: "SGLObjects", dependencies: ["SGLOpenGL", "SGLMath", "SGLImage"]),
.target(name: "eglgen", dependencies: []),
.systemLibrary(name: "C_EGL_Android"),
.target(name: "SGLEGL", dependencies: ["C_EGL_Android"]),
]
)