From 3bbe97775f9c753d56d21b1da04f407b7b6ee0cb Mon Sep 17 00:00:00 2001 From: dsiders Date: Mon, 28 Feb 2022 15:58:18 +0000 Subject: [PATCH] Docs: build_lcl_docs. Enables system.uitypes when building documentation. --- docs/html/build_lcl_docs.lpr | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/html/build_lcl_docs.lpr b/docs/html/build_lcl_docs.lpr index 75763a906f..073c1ffb15 100644 --- a/docs/html/build_lcl_docs.lpr +++ b/docs/html/build_lcl_docs.lpr @@ -636,9 +636,9 @@ begin } // build lazutils WITHOUT any external links Run:=TFPDocRun.Create('lazutils'); - Run.ExtraOptions:='-MObjFPC -Scghi'; // extra options from in lazutils makefile. - // Run.UsedPkgs.Add('rtl'); - // Run.UsedPkgs.Add('fcl'); + Run.ExtraOptions:='-MObjFPC -Scghi -dUseSystemUITypes'; // extra options from in lazutils makefile. + Run.UsedPkgs.Add('rtl'); + Run.UsedPkgs.Add('fcl'); Run.XMLSrcDir := '..'+PathDelim+'xml'+PathDelim+'lazutils'; Run.PasSrcDir := '..'+PathDelim+'..'+PathDelim+'components'+PathDelim+'lazutils'; Run.Execute; @@ -646,7 +646,7 @@ begin // build lcl with links to rtl, fcl, lazutils Run:=TFPDocRun.Create('lcl'); - Run.ExtraOptions:='-MObjFPC -Sic'; // extra options from in LCL makefile. + Run.ExtraOptions:='-MObjFPC -Sic -dUseSystemUITypes'; // extra options from in LCL makefile. Run.UsedPkgs.Add('rtl'); Run.UsedPkgs.Add('fcl'); Run.UsedPkgs.Add('lazutils'); @@ -658,7 +658,7 @@ begin // build lazutils with links to rtl, fcl, lcl Run:=TFPDocRun.Create('lazutils'); - Run.ExtraOptions:='-MObjFPC -Scghi'; // extra options from in lazutils makefile. + Run.ExtraOptions:='-MObjFPC -Scghi -dUseSystemUITypes'; // extra options from in lazutils makefile. Run.UsedPkgs.Add('rtl'); Run.UsedPkgs.Add('fcl'); Run.UsedPkgs.Add('lcl');