Do not use a separate ExpandedStringSegment just for quotes; we can put them into a Literal
This commit is contained in:
parent
d91d630562
commit
1d6e8549c4
@ -14,10 +14,9 @@
|
||||
<FileName>$(MinGWPath)\g++.exe</FileName>
|
||||
<Arguments>
|
||||
<StringBuilder>
|
||||
<Literal Value="-o " />
|
||||
<Quote />
|
||||
<Literal Value="-o "" />
|
||||
<Variable Name="OutputFileName" />
|
||||
<Quote />
|
||||
<Literal Value="" " />
|
||||
<ConditionalStatement>
|
||||
<Conditions>
|
||||
<Condition VariableName="OutputType" Comparison="EqualTo" Value="GraphicalApplication" />
|
||||
@ -50,7 +49,6 @@
|
||||
<VariableArray Name="LibraryReferences" Prefix="-l" Separator=" " />
|
||||
</TrueResult>
|
||||
</ConditionalStatement>
|
||||
<Literal Value=" " />
|
||||
<VariableArray Name="ProjectFiles" Separator=" " />
|
||||
</StringBuilder>
|
||||
</Arguments>
|
||||
|
||||
@ -13,11 +13,9 @@
|
||||
<FileName>$(DotNetFrameworkPath)\v$(DotNetVersion)\csc.exe</FileName>
|
||||
<Arguments>
|
||||
<StringBuilder>
|
||||
<Literal Value="/out:" />
|
||||
<Quote />
|
||||
<Literal Value="/out:"" />
|
||||
<Variable Name="OutputFileName" />
|
||||
<Quote />
|
||||
<Literal Value=" " />
|
||||
<Literal Value="" " />
|
||||
<ProjectFiles Separator=" " />
|
||||
</StringBuilder>
|
||||
</Arguments>
|
||||
|
||||
@ -20,11 +20,9 @@
|
||||
<FileName>$(ArduinoPath)\avr-gcc.exe</FileName>
|
||||
<Arguments>
|
||||
<StringBuilder>
|
||||
<Literal Value="-o " />
|
||||
<Quote />
|
||||
<Literal Value="-o "" />
|
||||
<Variable Name="OutputFileName" />
|
||||
<Quote />
|
||||
<Literal Value=" " />
|
||||
<Literal Value="" " />
|
||||
<ProjectFiles Separator=" " />
|
||||
</StringBuilder>
|
||||
</Arguments>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user