The main point of the local/network lib paths is to
use the lib path as a search path. That is, it
searches the paths in order, using the .lib file from
the first lib path that it finds it in. Makes it
easier to do local development - you can muck with a
local copy of a .lib file without changing the network
copy until you're done testing. Since the linker
searches the paths in order, as long as your local lib
path is first in the list, it'll use your local copy
rather than the network copy. Your example doesn't
really cover this case - I want to search ${locallib}
for mylib1.lib, then ${netlib} if it isn't found in
locallib.
Another example of this usage is with the platform
SDK. Eventually Microsoft will ship a platform SDK
which includes newer .LIB files than those included
with Visual Studio.Net (if they haven't already). So I
want to be able to search the PSDK lib directory
first, then the VS .lib directory next. I certainly
don't want the build file to have to change in that
case.
--- Tomas Restrepo <[EMAIL PROTECTED]> wrote:
> Kevin,
>
> > Oh, I see what you're saying. I guess that would
> work
> > as long as we only have one lib directory for our
> lib
> > files.
>
> Ahh, why? You could just as well use:
>
> <dependencies>
> <includes name="${netlib}/mylib1.lib"/>
> <includes name="${netlib}/mylib2.lib"/>
> <includes name="${locallib}/mylib3.lib"/>
> <includes name="${locallib}/mylib4.lib"/>
> </dependecies>
>
> where ${netlib} and ${locallib} would be properties
> pointing to your network and local library
> directories, which you'd specify as full paths (or
> perhaps use environment variables to hold them).
>
> --
> Tomas Restrepo
> [EMAIL PROTECTED]
>
>
>
_______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application
> Developer's Conference
> August 25-28 in Las Vegas -
>
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Nant-developers mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/nant-developers
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers