Skip to content

Commit

Permalink
🎋 Recreate the cxx17-test branch (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
monchote authored Sep 2, 2024
1 parent 140793c commit d7e4e97
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
// swift-tools-version:5.5
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "abseil",
name: "AbseilCXX17",
products: [
.library(
name: "abseil",
targets: [
"abseil",
]
)
.library(name: "AbseilCXX17", targets: ["AbseilCXX17"]),
],

targets: [
.target(
name: "abseil",
name: "AbseilCXX17",
path: ".",
exclude: [
// main functions
Expand All @@ -34,9 +29,6 @@ let package = Package(
sources: [
"absl/"
],
resources: [
.copy("PrivacyInfo.xcprivacy"),
],
publicHeadersPath: ".",
cSettings: [
.headerSearchPath("./"),
Expand All @@ -48,12 +40,12 @@ let package = Package(
.testTarget(
name: "build-test",
dependencies: [
"abseil",
"AbseilCXX17",
],
path: "SwiftPMTests/build-test"
),
],

cxxLanguageStandard: CXXLanguageStandard.gnucxx14
cxxLanguageStandard: CXXLanguageStandard.cxx1z
)

0 comments on commit d7e4e97

Please sign in to comment.