Prepare fixture for correct static lib linking to CLI tool
This commit is contained in:
parent
030eb367e5
commit
26f4ab0cb0
|
@ -0,0 +1,4 @@
|
|||
import Foundation
|
||||
import StaticLib
|
||||
|
||||
let staticClass = StaticLib()
|
|
@ -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/**"
|
||||
),
|
||||
])
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
import Foundation
|
||||
|
||||
public struct StaticLib {
|
||||
public init() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue