On Fri, 30 Dec 2011 13:52:34 +0100 Hans-Peter Diettrich <drdiettri...@aol.com> wrote:
> Marco van de Voort schrieb: > > > lazutils is now a separate package, and lcl references the new lazutils > > package. Everything is done and committed, in theory generating CHMs is a > > matter of installing dependencies, and then > > > > running fixdocs.sh in the fpcdocs repo > > > > and then running build_html_chm.sh in lazarus/docs/html > > These scripts may be nice, but are not very useful for Window users. > That's why my documentation manager tries to import LPK files, and now I > ran into a problem with the new LazUtils.lpk: > > How can "$(IDEBuildOptions)" be evaluated in code? > This macro seems to specify compiler options (-Fi, -Fu...), which also > are required by the fpdoc source parser. The macro IDEBuildOptions are only the custom options set by the user. > For the RTL and FCL documentation the fpcdocs Makefile can be used on > every platform, to produce the fully expanded fpdoc and makeskel > commandlines, which can be redirected into an file and parsed by the > docmgr. But how get the actual commandlines or compiler options for > Lazarus packages? You can read the .compiled file or the Makefile.compiled or run the tool as IDE plugin. As IDE plugin you get all macros. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus