Do not use a separate ExpandedStringSegment just for quotes; we can put them into a Literal

This commit is contained in:
Michael Becker 2014-12-05 09:26:15 -05:00
parent d91d630562
commit 1d6e8549c4
3 changed files with 6 additions and 12 deletions

View File

@ -14,10 +14,9 @@
<FileName>$(MinGWPath)\g++.exe</FileName>
<Arguments>
<StringBuilder>
<Literal Value="-o " />
<Quote />
<Literal Value="-o &quot;" />
<Variable Name="OutputFileName" />
<Quote />
<Literal Value="&quot; " />
<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>

View File

@ -13,11 +13,9 @@
<FileName>$(DotNetFrameworkPath)\v$(DotNetVersion)\csc.exe</FileName>
<Arguments>
<StringBuilder>
<Literal Value="/out:" />
<Quote />
<Literal Value="/out:&quot;" />
<Variable Name="OutputFileName" />
<Quote />
<Literal Value=" " />
<Literal Value="&quot; " />
<ProjectFiles Separator=" " />
</StringBuilder>
</Arguments>

View File

@ -20,11 +20,9 @@
<FileName>$(ArduinoPath)\avr-gcc.exe</FileName>
<Arguments>
<StringBuilder>
<Literal Value="-o " />
<Quote />
<Literal Value="-o &quot;" />
<Variable Name="OutputFileName" />
<Quote />
<Literal Value=" " />
<Literal Value="&quot; " />
<ProjectFiles Separator=" " />
</StringBuilder>
</Arguments>