mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 19:00:27 +02:00
IDE: compile package: quote src if needed
git-svn-id: trunk@60539 -
This commit is contained in:
parent
acedbb1bcd
commit
74f40164bd
@ -53,7 +53,7 @@ uses
|
|||||||
Laz2_XMLCfg, laz2_XMLRead, LazStringUtils, AvgLvlTree,
|
Laz2_XMLCfg, laz2_XMLRead, LazStringUtils, AvgLvlTree,
|
||||||
// codetools
|
// codetools
|
||||||
FileProcs, DefineTemplates, CodeToolManager, CodeCache, DirectoryCacher,
|
FileProcs, DefineTemplates, CodeToolManager, CodeCache, DirectoryCacher,
|
||||||
BasicCodeTools, NonPascalCodeTools, SourceChanger, PascalReaderTool,
|
BasicCodeTools, NonPascalCodeTools, SourceChanger,
|
||||||
// IDEIntf,
|
// IDEIntf,
|
||||||
IDEExternToolIntf, IDEDialogs, IDEMsgIntf, CompOptsIntf, LazIDEIntf,
|
IDEExternToolIntf, IDEDialogs, IDEMsgIntf, CompOptsIntf, LazIDEIntf,
|
||||||
MacroDefIntf, ProjectIntf, FppkgIntf,
|
MacroDefIntf, ProjectIntf, FppkgIntf,
|
||||||
@ -1054,7 +1054,7 @@ function TLazPackageGraph.GetPackageCompilerParams(APackage: TLazPackage
|
|||||||
begin
|
begin
|
||||||
Result:=APackage.CompilerOptions.MakeOptionsString(
|
Result:=APackage.CompilerOptions.MakeOptionsString(
|
||||||
APackage.CompilerOptions.DefaultMakeOptionsFlags+[ccloAbsolutePaths])
|
APackage.CompilerOptions.DefaultMakeOptionsFlags+[ccloAbsolutePaths])
|
||||||
+' '+CreateRelativePath(APackage.GetSrcFilename,APackage.Directory);
|
+' '+PrepareCmdLineOption(CreateRelativePath(APackage.GetSrcFilename,APackage.Directory));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TLazPackageGraph.Create;
|
constructor TLazPackageGraph.Create;
|
||||||
|
Loading…
Reference in New Issue
Block a user