Skip to content

Commit

Permalink
Purge any and optionalite targets, shims and references, and code.
Browse files Browse the repository at this point in the history
  • Loading branch information
vade committed Sep 25, 2024
1 parent 91fadb1 commit bc8760a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 38 deletions.
26 changes: 2 additions & 24 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,19 @@ let package = Package(
platforms: [.macOS(.v10_13),
.iOS(.v11)],
products: [
.library(name: "any", targets: ["any"]),
.library(name: "OpenTime_CXX", targets: ["OpenTime_CXX"]),
.library(name: "OpenTimelineIO_CXX", targets: ["OpenTimelineIO_CXX"]),
.library(name: "OpenTimelineIO", targets: ["OpenTimelineIO"])
],

dependencies: [],
targets: [
.target(name: "any",
path: ".",
exclude: [
"CONTRIBUTORS.md", "NOTICE.txt", "CONTRIBUTING.md", "LICENSE.txt", "CODE_OF_CONDUCT.md",
"OTIO_CLA_Corporate.pdf", "OTIO_CLA_Individual.pdf",
"README.md", "Sources/shims/optionallite-shim.cpp", "Sources/shims/otio_header_root-shim.cpp",
"Examples", "OpenTimelineIO", "Tests", "Sources/objc", "Sources/swift"],
sources: ["Sources/shims/any-shim.cpp"],
publicHeadersPath:"OpenTimelineIO/src/deps"),

.target(name: "optionallite",
path: ".",
exclude: [
"CONTRIBUTORS.md", "NOTICE.txt", "CONTRIBUTING.md", "LICENSE.txt", "CODE_OF_CONDUCT.md",
"OTIO_CLA_Corporate.pdf", "OTIO_CLA_Individual.pdf",
"README.md", "Sources/shims/any-shim.cpp", "Sources/shims/otio_header_root-shim.cpp",
"Examples", "OpenTimelineIO", "Tests", "Sources/objc", "Sources/swift"],
sources: ["Sources/shims/optionallite-shim.cpp"],
publicHeadersPath:"OpenTimelineIO/src/deps/optional-lite/include"),

.target(name: "otio_header_root",
path: ".",
exclude: [
"CONTRIBUTORS.md", "NOTICE.txt", "CONTRIBUTING.md", "LICENSE.txt", "CODE_OF_CONDUCT.md",
"OTIO_CLA_Corporate.pdf", "OTIO_CLA_Individual.pdf",
"README.md", "Sources/shims/any-shim.cpp", "Sources/shims/optionallite-shim.cpp",
"Examples", "OpenTimelineIO", "Tests", "Sources/objc", "Sources/swift"],
"README.md", "Examples", "OpenTimelineIO", "Tests", "Sources/objc", "Sources/swift"],
sources: ["Sources/shims/otio_header_root-shim.cpp"],
publicHeadersPath:"OpenTimelineIO/src"),

Expand All @@ -58,7 +36,7 @@ let package = Package(
cxxSettings: [ .headerSearchPath(".")]),

.target(name: "OpenTimelineIO_CXX",
dependencies: ["OpenTime_CXX", "any", "optionallite"],
dependencies: ["OpenTime_CXX"],
path: "OpenTimelineIO/src/opentimelineio",
exclude: ["CMakeLists.txt", "CORE_VERSION_MAP.last.cpp", "OpenTimelineIOConfig.cmake.in"],
sources: ["."],
Expand Down
7 changes: 0 additions & 7 deletions Sources/shims/any-shim.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions Sources/shims/optionallite-shim.cpp

This file was deleted.

0 comments on commit bc8760a

Please sign in to comment.