From d7e4e97b4b70d1416eb01bfb4c29cf04391edc47 Mon Sep 17 00:00:00 2001 From: Ramon Arguello Date: Mon, 2 Sep 2024 13:21:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=8B=20Recreate=20the=20cxx17-test=20br?= =?UTF-8?q?anch=20(#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Package.swift | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Package.swift b/Package.swift index 0af23b9..34874fb 100644 --- a/Package.swift +++ b/Package.swift @@ -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 @@ -34,9 +29,6 @@ let package = Package( sources: [ "absl/" ], - resources: [ - .copy("PrivacyInfo.xcprivacy"), - ], publicHeadersPath: ".", cSettings: [ .headerSearchPath("./"), @@ -48,12 +40,12 @@ let package = Package( .testTarget( name: "build-test", dependencies: [ - "abseil", + "AbseilCXX17", ], path: "SwiftPMTests/build-test" ), ], - cxxLanguageStandard: CXXLanguageStandard.gnucxx14 + cxxLanguageStandard: CXXLanguageStandard.cxx1z )