@@ -184,20 +184,6 @@ let package = Package(
184
184
) ,
185
185
] ,
186
186
targets: [
187
- // The `PackageDescription` target provides the API that is available
188
- // to `Package.swift` manifests. Here we build a debug version of the
189
- // library; the bootstrap scripts build the deployable version.
190
- . target(
191
- name: " PackageDescription " ,
192
- exclude: [ " CMakeLists.txt " ] ,
193
- swiftSettings: commonExperimentalFeatures + [
194
- . define( " USE_IMPL_ONLY_IMPORTS " ) ,
195
- . unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
196
- . unsafeFlags( [ " -enable-library-evolution " ] ) ,
197
- ] ,
198
- linkerSettings: packageLibraryLinkSettings
199
- ) ,
200
-
201
187
// The `AppleProductTypes` target provides additional product types
202
188
// to `Package.swift` manifests. Here we build a debug version of the
203
189
// library; the bootstrap scripts build the deployable version.
@@ -213,19 +199,6 @@ let package = Package(
213
199
. unsafeFlags( [ " -Xfrontend " , " -module-link-name " , " -Xfrontend " , " AppleProductTypes " ] )
214
200
] ) ,
215
201
216
- // The `PackagePlugin` target provides the API that is available to
217
- // plugin scripts. Here we build a debug version of the library; the
218
- // bootstrap scripts build the deployable version.
219
- . target(
220
- name: " PackagePlugin " ,
221
- exclude: [ " CMakeLists.txt " ] ,
222
- swiftSettings: commonExperimentalFeatures + [
223
- . unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
224
- . unsafeFlags( [ " -enable-library-evolution " ] ) ,
225
- ] ,
226
- linkerSettings: packageLibraryLinkSettings
227
- ) ,
228
-
229
202
. target(
230
203
name: " SourceKitLSPAPI " ,
231
204
dependencies: [
@@ -775,11 +748,41 @@ let package = Package(
775
748
]
776
749
) ,
777
750
751
+ // The `PackageDescription` target provides the API that is available
752
+ // to `Package.swift` manifests. Here we build a debug version of the
753
+ // library; the bootstrap scripts build the deployable version.
754
+ . target(
755
+ name: " PackageDescription " ,
756
+ path: " Sources/Runtimes/PackageDescription " ,
757
+ exclude: [ " CMakeLists.txt " ] ,
758
+ swiftSettings: commonExperimentalFeatures + [
759
+ . define( " USE_IMPL_ONLY_IMPORTS " ) ,
760
+ . unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
761
+ . unsafeFlags( [ " -enable-library-evolution " ] ) ,
762
+ ] ,
763
+ linkerSettings: packageLibraryLinkSettings
764
+ ) ,
765
+
766
+ // The `PackagePlugin` target provides the API that is available to
767
+ // plugin scripts. Here we build a debug version of the library; the
768
+ // bootstrap scripts build the deployable version.
769
+ . target(
770
+ name: " PackagePlugin " ,
771
+ path: " Sources/Runtimes/PackagePlugin " ,
772
+ exclude: [ " CMakeLists.txt " ] ,
773
+ swiftSettings: commonExperimentalFeatures + [
774
+ . unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
775
+ . unsafeFlags( [ " -enable-library-evolution " ] ) ,
776
+ ] ,
777
+ linkerSettings: packageLibraryLinkSettings
778
+ ) ,
779
+
778
780
// MARK: Support for Swift macros, should eventually move to a plugin-based solution
779
781
780
782
. target(
781
783
name: " CompilerPluginSupport " ,
782
784
dependencies: [ " PackageDescription " ] ,
785
+ path: " Sources/Runtimes/CompilerPluginSupport " ,
783
786
exclude: [ " CMakeLists.txt " ] ,
784
787
swiftSettings: commonExperimentalFeatures + [
785
788
. unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
@@ -789,19 +792,19 @@ let package = Package(
789
792
790
793
// MARK: Additional Test Dependencies
791
794
792
- . target(
793
- /** SwiftPM internal build test suite support library */
794
- name: " _InternalBuildTestSupport " ,
795
- dependencies: [
796
- " Build " ,
797
- " XCBuildSupport " ,
798
- " SwiftBuildSupport " ,
799
- " _InternalTestSupport "
800
- ] ,
801
- swiftSettings: [
802
- . unsafeFlags( [ " -static " ] ) ,
803
- ]
804
- ) ,
795
+ . target(
796
+ /** SwiftPM internal build test suite support library */
797
+ name: " _InternalBuildTestSupport " ,
798
+ dependencies: [
799
+ " Build " ,
800
+ " XCBuildSupport " ,
801
+ " SwiftBuildSupport " ,
802
+ " _InternalTestSupport "
803
+ ] ,
804
+ swiftSettings: [
805
+ . unsafeFlags( [ " -static " ] ) ,
806
+ ]
807
+ ) ,
805
808
806
809
. target(
807
810
/** SwiftPM internal test suite support library */
0 commit comments