mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:19:22 +02:00
codetools: removed too much fpgui paths
git-svn-id: trunk@10920 -
This commit is contained in:
parent
f436ded659
commit
0e86c269a0
@ -4161,21 +4161,16 @@ begin
|
|||||||
ExtraSrcPath:='../../../interfaces/'+CurWidgetSet;
|
ExtraSrcPath:='../../../interfaces/'+CurWidgetSet;
|
||||||
if (CurWidgetSet='gtk2') then
|
if (CurWidgetSet='gtk2') then
|
||||||
ExtraSrcPath:=ExtraSrcPath+';../../../interfaces/gtk';
|
ExtraSrcPath:=ExtraSrcPath+';../../../interfaces/gtk';
|
||||||
if (CurWidgetSet='fpgui') then begin
|
if (CurWidgetSet='fpgui') then
|
||||||
ExtraSrcPath:=ExtraSrcPath
|
ExtraSrcPath:=ExtraSrcPath
|
||||||
+';../../../interfaces/fpgui/gfx'
|
+';../../../interfaces/fpgui/gfx'
|
||||||
+';../../../interfaces/fpgui/gui';
|
+';../../../interfaces/fpgui/gui';
|
||||||
if (CurOS='win32') or (CurOS='wince') or (CurOS='win64') then
|
|
||||||
ExtraSrcPath:=ExtraSrcPath+';../../../interfaces/fpgui/gfx/gdi'
|
|
||||||
else
|
|
||||||
ExtraSrcPath:=ExtraSrcPath+';../../../interfaces/fpgui/gfx/x11';
|
|
||||||
end;
|
|
||||||
LCLUnitsCPUOSWidgetSetDir.AddChild(
|
LCLUnitsCPUOSWidgetSetDir.AddChild(
|
||||||
TDefineTemplate.Create('CompiledSrcPath',
|
TDefineTemplate.Create('CompiledSrcPath',
|
||||||
ctsSrcPathForCompiledUnits,CompiledSrcPathMacroName,
|
ctsSrcPathForCompiledUnits,CompiledSrcPathMacroName,
|
||||||
d(ExtraSrcPath),da_Define));
|
d(ExtraSrcPath),da_Define));
|
||||||
// ifdef windows
|
// ifdef windows
|
||||||
IfTemplate:=TDefineTemplate.Create('IFDEF swindows',
|
IfTemplate:=TDefineTemplate.Create('IFDEF windows',
|
||||||
ctsIfDefWindows, 'windows', '', da_IfDef);
|
ctsIfDefWindows, 'windows', '', da_IfDef);
|
||||||
// then add gfx/gdi to CompiledSrcPath
|
// then add gfx/gdi to CompiledSrcPath
|
||||||
IfTemplate.AddChild(TDefineTemplate.Create('Add gfx/gdi to CompiledSrcPath',
|
IfTemplate.AddChild(TDefineTemplate.Create('Add gfx/gdi to CompiledSrcPath',
|
||||||
|
Loading…
Reference in New Issue
Block a user