[ant-contrib - Help] RE: How do I add extra lib search dirs (-L)?
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4168306
By: sillydino
I have the same need. So far I've figured out that if you do something like:
...
<!-- libraries to link with -->
<fileset dir="c:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib">
<include name="*.lib" />
</fileset>
<fileset dir="c:\Program Files\Microsoft Visual Studio 8\VC\lib">
<include name="*.lib" />
</fileset>
<fileset dir="c:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\lib">
<include name="*.lib" />
</fileset>
...
then I can grab all system libraries. This is obviously not desirable because
I'm hard coding the file extension. I'm also not using the 'libset' or 'syslibset'
tasks. I've seen examples in other posts stating that you can do:
...
<libset>
<fileset dir="whatever" />
...
</libset>
...
but that doesn't work. If you try you will get:
"...libset doesn't support the nested "fileset" element..."
Perhaps Austin and I are going about this the wrong way. What I need is a way
to feed the compiler task a list of directories, and if it needs a libraries
(even if I haven't specified them) it can find them. This would be like the
global settings in VisualStudio. Basically just a way around having to set
the environment variable 'LIB' before running Ant.
~Caleb
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=113701
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV