This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ANT For C/C++ Compiling ???" Watch "ANT For C/C++ Compiling ???" New topic
Author

ANT For C/C++ Compiling ???

Abiram Radhakrishnan
Greenhorn

Joined: Jun 26, 2002
Posts: 13
Hi,
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
Abiram
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

Mathew,
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.
Barry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ANT For C/C++ Compiling ???
 
Similar Threads
C++ Build tool?
Getting error Build failed while running asant
Do we need Ant Knowledge for the book?
Ant error on trying to run an taskdef
new to ANT