Prepare fixture for correct static lib linking to CLI tool

This commit is contained in:
Jakub Olejnik 2020-11-05 05:08:18 +01:00
parent 030eb367e5
commit 26f4ab0cb0
3 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,4 @@
import Foundation
import StaticLib
let staticClass = StaticLib()

View File

@ -7,6 +7,7 @@ let project = Project(name: "CommandLineTool",
product: .commandLineTool,
bundleId: "com.example.commandlinetool",
infoPlist: .default,
sources: "CommandLineTool/**",
dependencies: [
.target(name: "StaticLib"),
]),
@ -14,5 +15,7 @@ let project = Project(name: "CommandLineTool",
platform: .macOS,
product: .staticLibrary,
bundleId: "com.example.staticlib",
infoPlist: .default),
infoPlist: .default,
sources: "StaticLib/**"
),
])

View File

@ -0,0 +1,7 @@
import Foundation
public struct StaticLib {
public init() {
}
}