Recent

Author Topic: Extending default search path for units  (Read 7315 times)

Bart

  • Hero Member
  • *****
  • Posts: 4096
    • Bart en Mariska's Webstek
Extending default search path for units
« on: February 18, 2008, 11:04:39 am »
Hi,

I have several units that I use frequently.
They are in a seperate folder.

For each new project I have to tell the compiler that I use units in that folder.
Obviously there is some place where I can tell lazarus/fpc to search this folder by default. But in what config file, and what is the syntax?

Bart

Zaher

  • Hero Member
  • *****
  • Posts: 610
    • parmaja.org
RE: Extending default search path for units
« Reply #1 on: February 18, 2008, 12:21:55 pm »
You can add your path in FPC.CFG in fpc bin folder
-FuYourPath

but i still prefer make a default search pathes like as Delphi

Bart

  • Hero Member
  • *****
  • Posts: 4096
    • Bart en Mariska's Webstek
Re: RE: Extending default search path for units
« Reply #2 on: February 19, 2008, 05:40:20 pm »
Quote from: "zaher"
You can add your path in FPC.CFG in fpc bin folder
-FuYourPath

Thanks, will do that.

Quote from: "zaher"
but i still prefer make a default search pathes like as Delphi

And by this you mean like in Delphi it would be nice to have a "Default" button in the compilers options dialog to set default compiler options?
I once suggested that in the appropriate subforum here...

If you mean something else, please explain.

Thanks for now.

Bart

 

TinyPortal © 2005-2018