Skip to content

Commit

Permalink
Support SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofei86 committed Mar 2, 2022
1 parent 931c1a6 commit cd83b3c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// swift-tools-version:5.2

import PackageDescription

let package = Package(
name: "CarbonGraph",
platforms: [.iOS(.v9)],
products: [
.library(
name: "CarbonCore",
targets: ["CarbonCore"]
),
.library(
name: "CarbonObjC",
targets: ["CarbonObjC"]
),
],
targets: [
.target(
name: "CarbonCore",
path: "CarbonCore/CarbonCore"
),
.target(
name: "CarbonObjC",
dependencies: ["CarbonCore"],
path: "CarbonObjC/CarbonObjC"
)
],
swiftLanguageVersions: [.v5]
)

0 comments on commit cd83b3c

Please sign in to comment.