mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 02:59:17 +02:00
call svn2revisioninc the first time the IDE is compiled
git-svn-id: trunk@8152 -
This commit is contained in:
parent
6f4f265714
commit
9a450654ae
@ -359,8 +359,8 @@ begin
|
|||||||
// append target OS
|
// append target OS
|
||||||
if Options.TargetOS<>'' then
|
if Options.TargetOS<>'' then
|
||||||
Tool.CmdLineParams:=Tool.CmdLineParams+' OS_TARGET='+Options.TargetOS;
|
Tool.CmdLineParams:=Tool.CmdLineParams+' OS_TARGET='+Options.TargetOS;
|
||||||
// don't run svn2revisioninc if no executable is created
|
// don't run svn2revisioninc when building the IDE for the second time
|
||||||
if blfWithoutLinkingIDE in Flags then
|
if not (blfWithoutLinkingIDE in Flags) then
|
||||||
Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0';
|
Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0';
|
||||||
// run
|
// run
|
||||||
Result:=ExternalTools.Run(Tool,Macros);
|
Result:=ExternalTools.Run(Tool,Macros);
|
||||||
|
Loading…
Reference in New Issue
Block a user