Avoid writing empty AdditionalOptions to PS3 compiler blocks
This commit is contained in:
parent
c9786f2242
commit
bbb70b9f18
@ -320,7 +320,9 @@
|
||||
_p(4,'UsePrecompiledHeader="%s"', iif(_ACTION > "vs2003" or cfg.flags.NoPCH, 0, 2))
|
||||
end
|
||||
|
||||
_x(4,'AdditionalOptions="%s"', table.concat(buildoptions, " "))
|
||||
if #buildoptions > 0 then
|
||||
_x(4,'AdditionalOptions="%s"', table.concat(buildoptions, " "))
|
||||
end
|
||||
|
||||
if #cfg.includedirs > 0 then
|
||||
_x(4,'AdditionalIncludeDirectories="%s"', path.translate(table.concat(cfg.includedirs, ";")))
|
||||
|
@ -334,7 +334,6 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
AdditionalOptions=""
|
||||
ProgramDataBaseFileName="$(OutDir)\MyProject.pdb"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="0"
|
||||
|
Reference in New Issue
Block a user