<div dir="ltr">On Mon, Nov 4, 2013 at 8:07 AM, Marcos Douglas <span dir="ltr"><<a href="mailto:md@delfire.net" target="_blank">md@delfire.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>> First, if you have a lib that have dependencies to another lib, you<br><div class="im">
>> have to provide all sources together -- in the same directory or<br>
>> subdirectories. For this case just use the rule #1.<br>
>> But, if you did not provide the sources for the other lib, the user<br>
>> will need to define the "ALIAS" to the lib that have dependencies<br>
>> before compile it (package). For this case use the rule #2.<br>
><br>
> Changing the structure of a project is a big NO. For a number of reasons:<br>
<br>
</div>There is no changes! The change is a new parameter (OPTIONAL) in the<br>
compiler... just this.<br></blockquote></div>so again, how should rule #2 work in the following case:<br></div><div class="gmail_extra">program\unit1.pas<br></div><div class="gmail_extra">program\StrUtils.pas<br></div><div class="gmail_extra">
program\unit2.pas <br></div><div class="gmail_extra">lib\StrUtils.pas<br></div><div class="gmail_extra">otherlib\ExtraUtils.pas<br><br></div><div class="gmail_extra">ExtraUtils depends on StrUtils.pas from "lib". But "otherlib" is not a subdirectory of lib.<br>
</div><div class="gmail_extra">unti1.pas users StrUtils.pas from "lib".<br></div><div class="gmail_extra">unit2.pas uses StrUtils.pas from "program"<br><br></div><div class="gmail_extra">How could I compile with structure using ALIAS?<br>
</div><div class="gmail_extra"><br>thanks,<br>Dmitry<br></div></div>