mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 20:20:47 +02:00
added include path for fpc compiler sources
git-svn-id: trunk@9388 -
This commit is contained in:
parent
9642645b61
commit
20698952d6
@ -3362,15 +3362,6 @@ begin
|
||||
ctsFPDocSystemOn,'FPDocSystem','',da_DefineRecurse);
|
||||
MainDir.AddChild(DefTempl);}
|
||||
|
||||
// compiler
|
||||
CompilerDir:=TDefineTemplate.Create('Compiler',ctsCompiler,'','compiler',
|
||||
da_Directory);
|
||||
AddProcessorTypeDefine(CompilerDir);
|
||||
CompilerDir.AddChild(TDefineTemplate.Create('SrcPath','SrcPath addition',
|
||||
ExternalMacroStart+'SrcPath',
|
||||
SrcPathMacro+';'+Dir+TargetProcessor,da_Define));
|
||||
MainDir.AddChild(CompilerDir);
|
||||
|
||||
// rtl
|
||||
RTLDir:=TDefineTemplate.Create('RTL',ctsRuntimeLibrary,'','rtl',da_Directory);
|
||||
MainDir.AddChild(RTLDir);
|
||||
@ -3485,6 +3476,18 @@ begin
|
||||
SrcPathMacro+';'+Dir+'ide;'+Dir+'fv',da_Define));
|
||||
MainDir.AddChild(InstallerDir);
|
||||
|
||||
// compiler
|
||||
CompilerDir:=TDefineTemplate.Create('Compiler',ctsCompiler,'','compiler',
|
||||
da_Directory);
|
||||
AddProcessorTypeDefine(CompilerDir);
|
||||
CompilerDir.AddChild(TDefineTemplate.Create('SrcPath','SrcPath addition',
|
||||
ExternalMacroStart+'SrcPath',
|
||||
SrcPathMacro+';'+Dir+TargetProcessor,da_Define));
|
||||
CompilerDir.AddChild(TDefineTemplate.Create('IncPath','IncPath addition',
|
||||
ExternalMacroStart+'IncPath',
|
||||
IncPathMacro+';'+Dir+'compiler',da_DefineRecurse));
|
||||
MainDir.AddChild(CompilerDir);
|
||||
|
||||
// clean up
|
||||
if UnitTree<>nil then begin
|
||||
UnitTree.FreeAndClear;
|
||||
|
Loading…
Reference in New Issue
Block a user