mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 21:30:23 +02:00
* Made Searchfiles public
* Show messages when clean or install has completed git-svn-id: trunk@16900 -
This commit is contained in:
parent
2859348450
commit
efd85e4f95
@ -985,6 +985,8 @@ Procedure SplitCommand(Const Cmd : String; Var Exe,Options : String);
|
|||||||
Procedure AddCustomFpmakeCommandlineOption(const ACommandLineOption, HelpMessage : string);
|
Procedure AddCustomFpmakeCommandlineOption(const ACommandLineOption, HelpMessage : string);
|
||||||
Function GetCustomFpmakeCommandlineOptionValue(const ACommandLineOption : string) : string;
|
Function GetCustomFpmakeCommandlineOptionValue(const ACommandLineOption : string) : string;
|
||||||
|
|
||||||
|
procedure SearchFiles(const AFileName: string; Recursive: boolean; var List: TStrings);
|
||||||
|
|
||||||
Implementation
|
Implementation
|
||||||
|
|
||||||
uses typinfo, rtlconsts;
|
uses typinfo, rtlconsts;
|
||||||
@ -1040,6 +1042,8 @@ ResourceString
|
|||||||
SWarnDependOnOtherPlatformPackage = 'Warning: Package %s depends on package %s which is not available for the %s platform';
|
SWarnDependOnOtherPlatformPackage = 'Warning: Package %s depends on package %s which is not available for the %s platform';
|
||||||
SWarnStartBuildingPackage = 'Start building package %s';
|
SWarnStartBuildingPackage = 'Start building package %s';
|
||||||
SWarnBuildingPackagecomplete = '[%3.0f%%] Built target %s';
|
SWarnBuildingPackagecomplete = '[%3.0f%%] Built target %s';
|
||||||
|
SWarnInstallationPackagecomplete = 'Installation package %s succeeded';
|
||||||
|
SWarnCleanPackagecomplete = 'Clean of package %s completed';
|
||||||
|
|
||||||
SInfoCompilingPackage = 'Compiling package %s';
|
SInfoCompilingPackage = 'Compiling package %s';
|
||||||
SInfoPackageAlreadyProcessed = 'Package %s is already processed';
|
SInfoPackageAlreadyProcessed = 'Package %s is already processed';
|
||||||
@ -4910,7 +4914,7 @@ begin
|
|||||||
P:=Packages.PackageItems[i];
|
P:=Packages.PackageItems[i];
|
||||||
If PackageOK(P) then
|
If PackageOK(P) then
|
||||||
Install(P);
|
Install(P);
|
||||||
log(vlWarning, 'Installation package ' + P.Name + ' succeeded');
|
log(vlWarning, SWarnInstallationPackagecomplete, [P.Name]);
|
||||||
end;
|
end;
|
||||||
If Assigned(AfterInstall) then
|
If Assigned(AfterInstall) then
|
||||||
AfterInstall(Self);
|
AfterInstall(Self);
|
||||||
@ -4966,6 +4970,7 @@ begin
|
|||||||
P:=Packages.PackageItems[i];
|
P:=Packages.PackageItems[i];
|
||||||
If PackageOK(P) then
|
If PackageOK(P) then
|
||||||
Clean(P);
|
Clean(P);
|
||||||
|
log(vlWarning, SWarnCleanPackagecomplete, [P.Name]);
|
||||||
end;
|
end;
|
||||||
If Assigned(AfterClean) then
|
If Assigned(AfterClean) then
|
||||||
AfterClean(Self);
|
AfterClean(Self);
|
||||||
|
Loading…
Reference in New Issue
Block a user