ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <shenne...@goldenhourdata.com>
Subject RE: Newbie Questions
Date Fri, 23 Jul 2004 16:23:47 GMT

>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>

capture the generated output which will need some transformation or mapper suitable for
<http://ant.apache.org/manual/CoreTasks/uptodate.html>


-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Friday, July 23, 2004 1:15 AM
To: user@ant.apache.org
Subject: AW: Newbie Questions


> Ant is described as a Java-based build tool that
> replaces make.

Replacing only in the java world.


> 1.  Does that mean it is a general build tool, and
> limited to building Java projects?

Its designed for building java projects, but you can do more with it.


> 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.


> 3.  If so, where can I find some example build files
> for C++ projects?  I could only find one example build
> file in the Manual.

Written from Java programmers for Java programmers - so the chance to find a C++ example in
the manual is not very high
:)


Jan



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


Mime
View raw message