mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 04:29:27 +02:00
added version number to lazbuild
git-svn-id: trunk@9865 -
This commit is contained in:
parent
4a39e38a83
commit
50d7aaf797
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1393,6 +1393,7 @@ ide/uniteditor.pp svneol=native#text/pascal
|
||||
ide/unitinfodlg.lfm svneol=native#text/plain
|
||||
ide/unitinfodlg.lrs svneol=native#text/plain
|
||||
ide/unitinfodlg.pp svneol=native#text/pascal
|
||||
ide/version.inc svneol=native#text/plain
|
||||
ide/versioninfoadditionalinfo.lfm svneol=native#text/plain
|
||||
ide/versioninfoadditionalinfo.lrs svneol=native#text/plain
|
||||
ide/versioninfoadditionalinfo.pas svneol=native#text/plain
|
||||
|
@ -57,7 +57,7 @@ type
|
||||
function ShowAboutForm: TModalResult;
|
||||
|
||||
const
|
||||
LazarusVersionStr= '0.9.17';
|
||||
LazarusVersionStr= {$I version.inc};
|
||||
var
|
||||
LazarusRevisionStr: string;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<PathDelim Value="/"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Version Value="5"/>
|
||||
<General>
|
||||
<SessionStorage Value="InIDEConfig"/>
|
||||
@ -36,7 +36,7 @@
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||
<LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="2">
|
||||
@ -67,13 +67,14 @@
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="../lazbuild"/>
|
||||
<Filename Value="..\lazbuild"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="include/;include/$(TargetOS)/"/>
|
||||
<OtherUnitFiles Value="../designer/;../packager/;../components/codetools/units/$(TargetCPU)-$(TargetOS)/"/>
|
||||
<UnitOutputDirectory Value="../units/$(TargetCPU)-$(TargetOS)"/>
|
||||
<IncludeFiles Value="include\;include\$(TargetOS)\"/>
|
||||
<OtherUnitFiles Value="..\designer\;..\packager\;..\components\codetools\units\$(TargetCPU)-$(TargetOS)\"/>
|
||||
<UnitOutputDirectory Value="..\units\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
|
@ -129,6 +129,7 @@ const
|
||||
ErrorLoadPackageFailed = 3;
|
||||
ErrorPackageNameInvalid = 4;
|
||||
ErrorLoadProjectFailed = 5;
|
||||
VersionStr = {$I version.inc};
|
||||
|
||||
procedure GetDescriptionOfDependencyOwner(Dependency: TPkgDependency;
|
||||
out Description: string);
|
||||
@ -813,6 +814,10 @@ begin
|
||||
WriteUsage;
|
||||
exit;
|
||||
end;
|
||||
if HasOption('v','version') then begin
|
||||
writeln(VersionStr);
|
||||
exit;
|
||||
end;
|
||||
Options:=TStringList.Create;
|
||||
NonOptions:=TStringList.Create;
|
||||
LongOptions:=TStringList.Create;
|
||||
@ -910,6 +915,7 @@ begin
|
||||
writeln('-B or --build-all ','build all files of project/package');
|
||||
writeln('-r or --recursive ','apply build flags (-B) to dependencies too.');
|
||||
writeln('-d or --skip-dependencies ','do not compile dependencies');
|
||||
writeln('-v or --version ','show version and exit');
|
||||
writeln('');
|
||||
writeln(PrimaryConfPathOptLong,'<path>');
|
||||
writeln('or ',PrimaryConfPathOptShort,'<path>');
|
||||
|
1
ide/version.inc
Normal file
1
ide/version.inc
Normal file
@ -0,0 +1 @@
|
||||
'0.9.17'
|
Loading…
Reference in New Issue
Block a user