call svn2revisioninc the first time the IDE is compiled

git-svn-id: trunk@8152 -
This commit is contained in:
vincents 2005-11-14 18:59:53 +00:00
parent 6f4f265714
commit 9a450654ae

View File

@ -359,8 +359,8 @@ 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
// don't run svn2revisioninc when building the IDE for the second time
if not (blfWithoutLinkingIDE in Flags) then
Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0';
// run
Result:=ExternalTools.Run(Tool,Macros);