don't run svn2revisioninc if make without linking

git-svn-id: trunk@7961 -
This commit is contained in:
vincents 2005-10-12 18:34:14 +00:00
parent c67e75e666
commit feea1058fa

View File

@ -359,6 +359,9 @@ begin
// append target OS
if Options.TargetOS<>'' then
Tool.CmdLineParams:=Tool.CmdLineParams+' OS_TARGET='+Options.TargetOS;
// don't run svn2revisioninc if no executable is created
if blfWithoutLinkingIDE in Flags then
Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0';
// run
Result:=ExternalTools.Run(Tool,Macros);
if Result<>mrOk then exit;