[Lazarus] package source paths / directories

Frederic Da Vitoria davitofrg at gmail.com
Thu Dec 19 12:09:02 CET 2013


Hello,

I am trying to use the MultiLog package. I installed the MultiLog package
in Lazarus. I can easily create and use a demo project if the project is in
MultiLog's source directory. But if I try to use MultiLog in a project
situated in another directory, FPC can't find MultiLog's units when I put
them in the uses clause. Of course I could add MultlLog's path to my
project's "Other unit files" (I checked, it woks), but I find this not
user-friendly (the "user" here is me :-) ), because I'd have to do the same
in all the projects where I'd want to use MultiLog. I could also put the
MultiLog source in the Lazarus path, but I don't like this idea. I'd rather
set the path in the package somehow and let Lazarus transmit this path to
FPC, if possible.

I tried setting the MultiLog package's "Unit" zone to
$(PkgOutDir);$(PkgDir) but aborted installation after a few error messages.
I tried setting the MultiLog package's "Object" zone to $(PkgDir) but this
did not help.

Is there a solution or is what I am hoping for currently impossible?

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131219/75bb43e8/attachment-0002.html>


More information about the Lazarus mailing list