File tree 4 files changed +29
-0
lines changed 4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ let package = Package(
96
96
dependencies: [
97
97
" Testing " ,
98
98
] ,
99
+ exclude: [ " Foundation.swiftoverlay " ] ,
99
100
swiftSettings: . packageSettings
100
101
) ,
101
102
] ,
Original file line number Diff line number Diff line change @@ -105,3 +105,4 @@ include(AvailabilityDefinitions)
105
105
include (CompilerSettings)
106
106
add_subdirectory (_TestingInternals)
107
107
add_subdirectory (Testing)
108
+ add_subdirectory (_Testing_Foundation)
Original file line number Diff line number Diff line change
1
+ # This source file is part of the Swift.org open source project
2
+ #
3
+ # Copyright (c) 2024 Apple Inc. and the Swift project authors
4
+ # Licensed under Apache License v2.0 with Runtime Library Exception
5
+ #
6
+ # See http://swift.org/LICENSE.txt for license information
7
+ # See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8
+
9
+ add_library (_Testing_Foundation SHARED
10
+ Events/Clock+Date.swift
11
+ ReexportTesting.swift)
12
+ target_link_libraries (_Testing_Foundation PUBLIC
13
+ Testing)
14
+ add_dependencies (_Testing_Foundation
15
+ Testing)
16
+ target_compile_options (_Testing_Foundation PRIVATE
17
+ -enable-library-evolution
18
+ -emit-module-interface -emit-module-interface -path $<TARGET_PROPERTY:_Testing_Foundation,Swift_MODULE_DIRECTORY>/_Testing_Foundation.swiftinterface)
19
+
20
+ get_swift_testing_install_lib_dir(SHARED overlays_destination_dir)
21
+ install (FILES $<TARGET_PROPERTY:_Testing_Foundation,Swift_MODULE_DIRECTORY>/Foundation.swiftoverlay
22
+ DESTINATION "${overlays_destination_dir} /Testing.swiftcrossimport/Foundation.swiftoverlay" )
23
+
24
+ _swift_testing_install_target(_Testing_Foundation)
Original file line number Diff line number Diff line change
1
+ version: 1
2
+ modules:
3
+ - name: _Testing_Foundation
You can’t perform that action at this time.
0 commit comments