add PFFFT target, FFTS sources
This commit is contained in:
8
FFTS/.gitignore
vendored
Normal file
8
FFTS/.gitignore
vendored
Normal 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
24
FFTS/Package.swift
Normal 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"]
|
||||
),
|
||||
]
|
||||
)
|
||||
3
FFTS/Plugins/CMakePlugin/CMakePlugin.swift
Normal file
3
FFTS/Plugins/CMakePlugin/CMakePlugin.swift
Normal file
@@ -0,0 +1,3 @@
|
||||
import PackagePlugin
|
||||
|
||||
@main
|
||||
6
FFTS/Tests/FFTSTests/FFTSTests.swift
Normal file
6
FFTS/Tests/FFTSTests/FFTSTests.swift
Normal 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.
|
||||
}
|
||||
Reference in New Issue
Block a user