@@ -49,77 +49,45 @@ let SwiftWin32 = Package(
49
49
. product( name: " SwiftCOM " , package : " SwiftCOM " ) ,
50
50
] ,
51
51
path: " Sources/SwiftWin32 " ,
52
- exclude: ExcludedPaths + [
53
- " CMakeLists.txt " ,
54
- ] ,
52
+ exclude: ExcludedPaths + [ " CMakeLists.txt " ] ,
55
53
linkerSettings: [
56
54
. linkedLibrary( " User32 " ) ,
57
55
. linkedLibrary( " ComCtl32 " ) ,
58
56
]
59
57
) ,
60
58
. target(
61
59
name: " SwiftWin32UI " ,
62
- dependencies: [
63
- " SwiftWin32 " ,
64
- ] ,
60
+ dependencies: [ " SwiftWin32 " ] ,
65
61
path: " Sources/SwiftWin32UI " ,
66
- exclude: [
67
- " CMakeLists.txt " ,
68
- ]
62
+ exclude: [ " CMakeLists.txt " ]
69
63
) ,
70
64
. executableTarget(
71
65
name: " Calculator " ,
72
- dependencies: [
73
- " SwiftWin32 " ,
74
- ] ,
66
+ dependencies: [ " SwiftWin32 " ] ,
75
67
path: " Examples/Calculator " ,
76
68
exclude: [
77
69
" CMakeLists.txt " ,
78
70
" Calculator.exe.manifest " ,
79
71
" Info.plist " ,
80
72
] ,
81
- swiftSettings: [
82
- . unsafeFlags( [
83
- " -parse-as-library " ,
84
- ] ) ,
85
- ]
73
+ swiftSettings: [ . unsafeFlags( [ " -parse-as-library " ] ) ]
86
74
) ,
87
75
. executableTarget(
88
76
name: " UICatalog " ,
89
- dependencies: [
90
- " SwiftWin32 " ,
91
- ] ,
77
+ dependencies: [ " SwiftWin32 " ] ,
92
78
path: " Examples/UICatalog " ,
93
79
exclude: [
94
80
" CMakeLists.txt " ,
95
81
" Info.plist " ,
96
82
" UICatalog.exe.manifest " ,
97
83
] ,
98
- resources: [
99
- . copy( " Assets/CoffeeCup.jpg " ) ,
100
- ] ,
101
- swiftSettings: [
102
- . unsafeFlags( [
103
- " -parse-as-library " ,
104
- ] ) ,
105
- ]
106
- ) ,
107
- . target(
108
- name: " TestUtilities " ,
109
- path: " Tests/Utilities "
110
- ) ,
111
- . testTarget(
112
- name: " AutoLayoutTests " ,
113
- dependencies: [ " SwiftWin32 " ]
114
- ) ,
115
- . testTarget(
116
- name: " CoreGraphicsTests " ,
117
- dependencies: [ " SwiftWin32 " ]
118
- ) ,
119
- . testTarget(
120
- name: " SupportTests " ,
121
- dependencies: [ " SwiftWin32 " ]
84
+ resources: [ . copy( " Assets/CoffeeCup.jpg " ) ] ,
85
+ swiftSettings: [ . unsafeFlags( [ " -parse-as-library " ] ) ]
122
86
) ,
87
+ . target( name: " TestUtilities " , path: " Tests/Utilities " ) ,
88
+ . testTarget( name: " AutoLayoutTests " , dependencies: [ " SwiftWin32 " ] ) ,
89
+ . testTarget( name: " CoreGraphicsTests " , dependencies: [ " SwiftWin32 " ] ) ,
90
+ . testTarget( name: " SupportTests " , dependencies: [ " SwiftWin32 " ] ) ,
123
91
. testTarget(
124
92
name: " UICoreTests " ,
125
93
dependencies: [ " SwiftWin32 " , " TestUtilities " ]
0 commit comments