On Fri, 28 Jul 2006 11:38:34 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> Hi, > > I see that the linker/compiler are not going into sub folders of > source project to find for units. Now I did the little trick > > uses > Unit1 in 'subforler\unit1.pas'; > > but this is not very much elegant. Is there a way to include sub-folders. > > Q2: I see $(LazarusDir) in -Fu; is there a kind of > $(CurrentProjectDir) directive? So I could add > $(CurrentProjectDir)\subfolder\; (Unless this is not a good idea?) Just add 'subforler\unit1.pas' to the project. There is a macro for project path, but you don't need it, because all paths are relative to the project path anyway.Macros: http://wiki.lazarus.freepascal.org/index.php/IDE_Macros_in_paths_and_filenames Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
