ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: Newbie Questions
Date Mon, 26 Jul 2004 15:11:29 GMT
> From: W. Sean Hennessy [mailto:shennessy@goldenhourdata.com]
> 
> >But I am not aware of any tool for scanning for #includes.
> One consideration might be a target which uses gcc -M command line
option
>   see <http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_2.html#SEC11>
> 
>
> > 2.  In particular, is Ant good for building C++
> > projects?  Can it, eg, automatically find dependencies
> > by scanning source files for #include directives?
> 
> There are extensions to Ant (AntContrib cpptasks) to work with C++
> projects. And you can invoke platform tools.
> But I am not aware of any tool for scanning for #includes.

Let me just add that CppTasks automatically handles C/C++ dependencies
out of the box. You don't need to do anything special for that (like
scanning for #include). But it's hardly the only recent Make-replacement
that have cropped up that does that, it's just the only one Ant-based.
--DD

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


Mime
View raw message