[Lazarus] lazbuild build IDE profiles

waldo kitty wkitty42 at windstream.net
Tue Mar 20 15:59:51 CET 2012


On 3/20/2012 04:20, Mattias Gaertner wrote:
> On Mon, 19 Mar 2012 23:26:45 -0400
> waldo kitty<wkitty42 at windstream.net>  wrote:
>
>> [...]
>>>> something else: how can i find the svn revision number of the code being used so
>>>> as to be able to copy the resulting lazarus.exe to something like
>>>> lazarus_debug-r57345.exe (from memory) so that they are grouped and sorted properly?
>>>
>>> Maybe you mean tools/svn2revisioninc.lpi or perhaps ide/revision.inc.
>>
>> yes... in the process that creates or updates this info, perhaps there can be a
>> small script that can be called that sets an environment variable which can be
>> read and used by an initiating script such as that which is described in the
>> wiki and which i also use?
>
> Can you be more specific?

well, while writing the above, i was thinking that during the make phase where 
this information is updated that a .bat or shell script could be generated that 
sets or exports an environment variable which would then be run... but then in 
my later post, i thought that the process could just go ahead and set that 
environment variable during the run eliminating the need to create an additional 
file and execute it...

but i must admit that i'm not sure when this file is updated... i just went to 
look at my debug logs but see that there's something else i need to add... but 
how/where to add "--debug-log=lazdbg1.log" as a parameter so that the entire 
build process is recorded? i have that as a command line parameter to 
startlazarus...

anyway, looking at an old log, i see that svn2revisioninc.exe is executed just 
after synedit is compiled and right before the ide is compiled and linked... so 
that is where i was thinking that the environment variable might be set or the 
script to set it might be generated...





More information about the Lazarus mailing list