On Thu, 27 Mar 2014 20:20:39 +
Howard Page-Clark h...@talktalk.net wrote:
I've been experimenting with the codetools example finddeclaration
project, using the codetools outside the IDE, and feeding FPC and
Lazarus source directory information via environment variables to the
CodeToolBoss constructor, which works OK for simple source files.
However, when looking for, say, the declaration of TLabel in StdCtrls
the linkscanner barfs over an include file it cannot find.
TCodeToolManager.HandleException: include file not found
lcl_defines.inc at Line=21 Col=5 in c:\lazarus\lcl\std
ctrls.pp
How should I pass the location of lcl\include\ when initializing the
codetools?
I extended the wiki with some explanations how the codetools defines
work:
http://wiki.lazarus.freepascal.org/Codetools#Defining_search_paths_and_macros
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus