The Skung Rockification of Ziggy Skungdust and the SIMD's

This commit is contained in:
2024-05-13 01:11:03 +10:00
parent b62cd056b5
commit 6c44476062
40 changed files with 2066 additions and 386 deletions

View File

@ -9,7 +9,8 @@ let package = Package(
],
products: [
.executable(name: "Test", targets: ["Test"]),
.library(name: "JolkEngine", targets: ["JolkEngine"])
.library(name: "JolkEngine", targets: ["JolkEngine"]),
.library(name: "Maths", targets: ["Maths"]),
],
dependencies: [
.package(
@ -17,7 +18,7 @@ let package = Package(
.upToNextMajor(from: "1.4.1")),
.package(
url: "https://github.com/apple/swift-collections.git",
.upToNextMinor(from: "1.1.0"))
.upToNextMinor(from: "1.1.0")),
],
targets: [
.executableTarget(
@ -30,12 +31,19 @@ let package = Package(
dependencies: [
.product(name: "SDL", package: "SwiftSDL2"),
.product(name: "Collections", package: "swift-collections"),
"HSLuv"
"HSLuv",
.target(name: "Maths"),
],
swiftSettings: [
.unsafeFlags(["-Xcc", "-DGL_SILENCE_DEPRECATION"])
]
),
.target(name: "HSLuv"),
.target(
name: "Maths",
swiftSettings: [
.unsafeFlags(["-DUSE_SIMD"])
]
),
]
)