You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2004/01/28 18:44:16 UTC

RE: Using Microsoft VC++ compiler for compiling C and C++ project s?

> From: barry@goodconsultants.com [mailto:barry@goodconsultants.com]
> All,
> 
> I have a need to use microsoft VC++ compiler for C and C++ projects.
> 
> Currently, I can use <exec> with msdev.exe compiling the project created
> by
> VC++'s IDE directly without issues.
> 
> However, I have the following questions:
> 
> 1. Can I also use nmake, and cl? How? Any detail ant coding examples?
> 
> 2. Any coding examples in how to use Ant's native tasks to compile C
> codes?
> 
> 3. Any details on <cc> task? I dont think that it is from Ant 1.6 but an
> add
> on. Am I correct? Any detail ant coding examples?
> 

I don't have time to go into details, but unless you really need to
<exec> msdev, I'd go with <cc> from CppTasks. I'm doing both, and I
much prefer <cc>. Invest the time to learn <cc>, it's worth it.

As question on the Ant-Contrib dev mailing list. That's where Curt and
others (including I) discuss it. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org