@@ -5,17 +5,9 @@ import PackageDescription
55
66let package = Package (
77 name: " SoundpipeAudioKit " ,
8- platforms: [
9- . macOS( . v10_14) , . iOS( . v13) , . tvOS( . v13)
10- ] ,
11- products: [
12- // Products define the executables and libraries a package produces, and make them visible to other packages.
13- . library(
14- name: " SoundpipeAudioKit " ,
15- targets: [ " SoundpipeAudioKit " ] ) ,
16- ] ,
8+ platforms: [ . macOS( . v10_14) , . iOS( . v13) , . tvOS( . v13) ] ,
9+ products: [ . library( name: " SoundpipeAudioKit " , targets: [ " SoundpipeAudioKit " ] ) ] ,
1710 dependencies: [
18- // Dependencies declare other packages that this package depends on.
1911 . package ( url: " https://github.com/AudioKit/KissFFT " , . branch( " main " ) ) ,
2012 . package ( url: " https://github.com/AudioKit/AudioKit " , . branch( " develop " ) ) ,
2113 ] ,
@@ -24,32 +16,16 @@ let package = Package(
2416 // Targets can depend on other targets in this package, and on products in packages this package depends on.
2517 . target( name: " Soundpipe " ,
2618 dependencies: [ " KissFFT " ] ,
27- exclude: [
28- " lib/kissfft/COPYING " ,
29- " lib/kissfft/README " ,
30- " lib/inih/LICENSE.txt " ,
31- ] ,
32- publicHeadersPath: " include " ,
3319 cSettings: [
34- . headerSearchPath( " lib/kissfft " ) ,
3520 . headerSearchPath( " lib/inih " ) ,
3621 . headerSearchPath( " Sources/soundpipe/lib/inih " ) ,
3722 . headerSearchPath( " modules " ) ,
3823 . headerSearchPath( " external " )
3924 ] ) ,
40- . target(
41- name: " SoundpipeAudioKit " ,
42- dependencies: [ " AudioKit " , " CSoundpipeAudioKit " ] ) ,
43- . target(
44- name: " CSoundpipeAudioKit " ,
45- dependencies: [ " AudioKit " , " Soundpipe " ] ) ,
46- . testTarget(
47- name: " SoundpipeAudioKitTests " ,
48- dependencies: [ " SoundpipeAudioKit " ] ,
49- resources: [ . copy( " TestResources/ " ) ] ) ,
50- . testTarget(
51- name: " CSoundpipeAudioKitTests " ,
52- dependencies: [ " CSoundpipeAudioKit " ] ) ,
25+ . target( name: " SoundpipeAudioKit " , dependencies: [ " AudioKit " , " CSoundpipeAudioKit " ] ) ,
26+ . target( name: " CSoundpipeAudioKit " , dependencies: [ " AudioKit " , " Soundpipe " ] ) ,
27+ . testTarget( name: " SoundpipeAudioKitTests " , dependencies: [ " SoundpipeAudioKit " ] , resources: [ . copy( " TestResources/ " ) ] ) ,
28+ . testTarget( name: " CSoundpipeAudioKitTests " , dependencies: [ " CSoundpipeAudioKit " ] ) ,
5329 ] ,
5430 cxxLanguageStandard: . cxx14
5531)
0 commit comments