@@ -17,22 +17,27 @@ import Build
17
17
18
18
struct BuildFlagsGroup : ParsableArguments {
19
19
@Option ( name: . customLong( " Xcc " , withSingleDash: true ) ,
20
+ parsing: . unconditionalSingleValue,
20
21
help: " Pass flag through to all C compiler invocations " )
21
22
var cCompilerFlags : [ String ]
22
23
23
24
@Option ( name: . customLong( " Xswiftc " , withSingleDash: true ) ,
25
+ parsing: . unconditionalSingleValue,
24
26
help: " Pass flag through to all Swift compiler invocations " )
25
27
var swiftCompilerFlags : [ String ]
26
28
27
29
@Option ( name: . customLong( " Xlinker " , withSingleDash: true ) ,
30
+ parsing: . unconditionalSingleValue,
28
31
help: " Pass flag through to all linker invocations " )
29
32
var linkerFlags : [ String ]
30
33
31
34
@Option ( name: . customLong( " Xccxx " , withSingleDash: true ) ,
35
+ parsing: . unconditionalSingleValue,
32
36
help: " Pass flag through to all C++ compiler invocations " )
33
37
var cxxCompilerFlags : [ String ]
34
38
35
39
@Option ( name: . customLong( " Xxcbuild " , withSingleDash: true ) ,
40
+ parsing: . unconditionalSingleValue,
36
41
help: " Pass flag through to the Xcode build system invocations " )
37
42
var xcbuildFlags : [ String ]
38
43
0 commit comments