mirror of https://github.com/gabime/spdlog.git
Added support of Swift Package Manager
This allows to add spdlog as dependency to other Swift Packages or Xcode projectspull/3000/head
parent
696db97f67
commit
81e7a9f654
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
// swift-tools-version: 5.8
|
||||||
|
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "spdlog",
|
||||||
|
platforms: [
|
||||||
|
.macOS(.v11),
|
||||||
|
.iOS(.v13)
|
||||||
|
],
|
||||||
|
products: [
|
||||||
|
.library(
|
||||||
|
name: "spdlog",
|
||||||
|
targets: ["spdlog"]),
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
.target(name: "spdlog",
|
||||||
|
path: "",
|
||||||
|
exclude:[
|
||||||
|
],
|
||||||
|
sources:[
|
||||||
|
"src"
|
||||||
|
],
|
||||||
|
publicHeadersPath:"include",
|
||||||
|
cSettings: [
|
||||||
|
.define("SPDLOG_COMPILED_LIB"),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
],
|
||||||
|
cxxLanguageStandard: .cxx20
|
||||||
|
)
|
Loading…
Reference in New Issue