no difference really just a different syntax. Children arg elements are common to all tasks that derive from externalProgramBase.
it would look somghting like
<arg value="kernel32.lib user32.lib ... odbccp32.lib"/> although you would propbably have make this the last arg. I think link.exe requires the list of libs after the / options.
I'm thinking that LibTask should use a fileset for specifying the libs - in fact I was surprised to find that it doesn't. I'll look at adding fileset support shortly.


Ian

Marion Nalepa wrote:

I'm using Nant to build a C++ project, and the one example I could find
shows all the lib files listed with the task, like this

<link output="blah.dll' options='/INCREMENTAL /NOLOGO /DLL /DEF:"blah.def" /DEBUG /PDB:"blah.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"blah.lib" /MACHINE:IX86 kernel32.lib user32.lib ... odbccp32.lib'>

my question is -- what's the difference between the 'options' parameter on the link 
task
and the arg (Array) nested element.

Could the libs be listed with the arg array? Anybody have a sample of what this would look like?

Thanks,

-M-



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users







------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to