* Give a warning when the internal-fpmkunit is being used

git-svn-id: trunk@34644 -
This commit is contained in:
joost 2016-10-07 18:08:07 +00:00
parent bacea005fc
commit 1ec64844c9
2 changed files with 5 additions and 1 deletions

View File

@ -230,7 +230,10 @@ begin
AddOption('-XXs');
// Create fpmkunit.pp if needed
if NeedFPMKUnitSource then
CreateFPMKUnitSource(TempBuildDir+PathDelim+'fpmkunit.pp');
begin
Log(llWarning,SLogUseInternalFpmkunit);
CreateFPMKUnitSource(TempBuildDir+PathDelim+'fpmkunit.pp');
end;
// Call compiler
If ExecuteProcess(GFPpkg.FPMakeCompilerOptions.Compiler,OOptions+' '+FPmakeSrc)<>0 then
begin

View File

@ -87,6 +87,7 @@ Resourcestring
SLogPackageChecksumChanged = 'Package %s needs to be rebuild, dependency %s is modified';
SLogCheckBrokenDependenvies= 'Checking for broken dependencies';
SLogFailedToCreateManifest = 'Failed to create manifest from fpmake.pp-file (%s) while scanning for available packages: %s';
SLogUseInternalFpmkunit = 'Fpmkunit not available, fallback to internal version.';
SLogCfgHeader = 'Settings from configuration-files:';
SLogCfgSectionHeader = ' %s-section:';