Skip to content

Commit 8647336

Browse files
authored
Merge pull request #6 from RougeWare/feature/5-Dynamic-Library
Added alternative dynamic library product
2 parents b3f1476 + 3242b84 commit 8647336

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Package.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,24 @@ import PackageDescription
55

66
let package = Package(
77
name: "OptionalTools",
8+
89
products: [
910
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1011
.library(
1112
name: "OptionalTools",
1213
targets: ["OptionalTools"]),
14+
15+
.library(
16+
name: "OptionalTools_dynamic",
17+
type: .dynamic,
18+
targets: ["OptionalTools"]),
1319
],
20+
1421
dependencies: [
1522
// Dependencies declare other packages that this package depends on.
1623
// .package(url: /* package url */, from: "1.0.0"),
1724
],
25+
1826
targets: [
1927
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2028
// Targets can depend on other targets in this package, and on products in packages which this package depends on.

0 commit comments

Comments
 (0)