mirror of https://github.com/gabime/spdlog.git
Add Swift Package Manager support
parent
3335c380a0
commit
c98d0c4c87
@ -0,0 +1,44 @@
|
|||||||
|
// swift-tools-version: 5.8
|
||||||
|
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "spdlog",
|
||||||
|
platforms: [
|
||||||
|
.iOS(.v12),
|
||||||
|
.macOS(.v10_14),
|
||||||
|
],
|
||||||
|
products: [
|
||||||
|
.library(
|
||||||
|
name: "spdlog",
|
||||||
|
targets: ["spdlog"]),
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
.target(
|
||||||
|
name: "spdlog",
|
||||||
|
dependencies: [],
|
||||||
|
path: ".",
|
||||||
|
exclude: [
|
||||||
|
"bench",
|
||||||
|
"cmake",
|
||||||
|
"example",
|
||||||
|
"logos",
|
||||||
|
"tests",
|
||||||
|
"scripts",
|
||||||
|
],
|
||||||
|
sources: [
|
||||||
|
"src",
|
||||||
|
"include",
|
||||||
|
],
|
||||||
|
publicHeadersPath: "include",
|
||||||
|
cxxSettings: [
|
||||||
|
.headerSearchPath("spdlog"),
|
||||||
|
.define("SPDLOG_COMPILED_LIB"),
|
||||||
|
],
|
||||||
|
linkerSettings: []
|
||||||
|
),
|
||||||
|
],
|
||||||
|
cxxLanguageStandard: .cxx11
|
||||||
|
)
|
Loading…
Reference in New Issue