Skip to content

Commit d0917ae

Browse files
authored
Silence warnings about CMakeList.txt when building the package. (#1293)
This PR silences warnings from SwiftPM about untracked files named "CMakeList.txt" in the new overlay targets. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent b731280 commit d0917ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Package.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ let package = Package(
218218
"_Testing_CoreGraphics",
219219
],
220220
path: "Sources/Overlays/_Testing_AppKit",
221+
exclude: ["CMakeLists.txt"],
221222
swiftSettings: .packageSettings + .enableLibraryEvolution()
222223
),
223224
.target(
@@ -226,6 +227,7 @@ let package = Package(
226227
"Testing",
227228
],
228229
path: "Sources/Overlays/_Testing_CoreGraphics",
230+
exclude: ["CMakeLists.txt"],
229231
swiftSettings: .packageSettings + .enableLibraryEvolution()
230232
),
231233
.target(
@@ -235,6 +237,7 @@ let package = Package(
235237
"_Testing_CoreGraphics",
236238
],
237239
path: "Sources/Overlays/_Testing_CoreImage",
240+
exclude: ["CMakeLists.txt"],
238241
swiftSettings: .packageSettings + .enableLibraryEvolution()
239242
),
240243
.target(
@@ -257,6 +260,7 @@ let package = Package(
257260
"_Testing_CoreImage",
258261
],
259262
path: "Sources/Overlays/_Testing_UIKit",
263+
exclude: ["CMakeLists.txt"],
260264
swiftSettings: .packageSettings + .enableLibraryEvolution()
261265
),
262266
.target(

0 commit comments

Comments
 (0)