add PFFFT target, FFTS sources

This commit is contained in:
2024-10-25 20:39:25 -05:00
parent 30696ab461
commit 5afba81a7a
22 changed files with 4582 additions and 88 deletions

8
FFTS/.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc

24
FFTS/Package.swift Normal file
View File

@@ -0,0 +1,24 @@
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "FFTS",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "FFTS",
targets: ["FFTS"]),
],
targets: [
.plugin(name: "CMakePlugin", capability: .buildTool()),
.target(
name: "FFTS",
plugins: ["CMakePlugin"]),
.testTarget(
name: "FFTSTests",
dependencies: ["FFTS"]
),
]
)

View File

@@ -0,0 +1,3 @@
import PackagePlugin
@main

View File

@@ -0,0 +1,6 @@
import Testing
@testable import FFTS
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
}