Skip to content

Commit

Permalink
Merge pull request #517 from cntrump/pr_improve_swiftpm
Browse files Browse the repository at this point in the history
Add testTarget for SwiftPM
  • Loading branch information
sjaeckel authored Dec 2, 2021
2 parents f692782 + ac10f9d commit 2cec6ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ let package = Package(
sources: ["."],
publicHeadersPath: "modulemap",
cSettings: [
.headerSearchPath("."),
.unsafeFlags(["-flto=thin"]) // for Dead Code Elimination
])
]),
.testTarget(name: "TommathTests",
dependencies: ["libtommath"],
path: "demo",
sources: ["tommath_tests.swift"])
],
cLanguageStandard: .gnu11,
cxxLanguageStandard: .gnucxx14
Expand Down

0 comments on commit 2cec6ad

Please sign in to comment.