File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes ANT For C/C++ Compiling ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ANT For C/C++ Compiling ???" Watch "ANT For C/C++ Compiling ???" New topic

ANT For C/C++ Compiling ???

Abiram Radhakrishnan

Joined: Jun 26, 2002
Posts: 13
We have been using diffrent compiler for our c/c++ compilation use to write long make files
But I Think in ANT we only write XML for compiling the c/c++ codes really intresting
Can you please let me know the link where I can download the ANT for compiling my c/c++ codes using ANT
Thanks in Advance
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
First, I want to make sure that you understand what Ant is. Ant is a build tool, so you will still need a seperate compiler. Check out Ant's related projects page for a version that will work with C/C++ compilers.

Matthew Phillips
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

I checked out the link and I saw a project called AntContrib. I downloaded it, but found nothing about C/C++ compile. I was wondering if it would be possible to write a build.xml file that uses the already existing exec task to do C compiles. It seems like you would be able to use exec combined with env tag to set up the build environment. This is just a theory. I've never actually tried it. Please someone whack me over the head if I am being stupid.
I agree. Here's the link:
subject: ANT For C/C++ Compiling ???
It's not a secret anymore!