Reduce ogs-blue/ver-mac to blue background (#6)
This commit was merged in pull request #6.
This commit is contained in:
1 parent
fb28dd55c7
commit
37c4e6f442
79 files changed
+902
-504
No files matched your search
@@ -0,0 +1,37 @@
|
||||
// swift-tools-version: 5.9
|
||||
import Foundation
|
||||
import PackageDescription
|
||||
|
||||
let raylibPrefix = ProcessInfo.processInfo.environment["RAYLIB_PREFIX"] ?? "/opt/homebrew"
|
||||
|
||||
let package = Package(
|
||||
name: "OGSBlue",
|
||||
platforms: [
|
||||
.macOS(.v13)
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "RaylibBridge",
|
||||
path: "src/raybri",
|
||||
publicHeadersPath: ".",
|
||||
cSettings: [
|
||||
.unsafeFlags(["-I", "\(raylibPrefix)/include"])
|
||||
]
|
||||
),
|
||||
.executableTarget(
|
||||
name: "ogs-blue",
|
||||
dependencies: ["RaylibBridge"],
|
||||
path: "src",
|
||||
exclude: ["raybri"],
|
||||
swiftSettings: [
|
||||
.unsafeFlags(["-Xcc", "-DGL_SILENCE_DEPRECATION"])
|
||||
],
|
||||
linkerSettings: [
|
||||
.unsafeFlags([
|
||||
"-L", "\(raylibPrefix)/lib",
|
||||
"-lraylib"
|
||||
])
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
Reference in new issue
Block a user