I'm not at work, so I don't have a concrete example in front of me but,
basically, you just want to look at the docs for the <exec/> task, and call
your command line compiler.  Myself, I'm not even compiling any Java classes
with Ant; I'm compiling Delphi and Visual C++ projects by executing
dcc32.exe and/or devenv.com, as appropriate.  I don't know what compiler
you're using, but it almost assuredly has a command-line compiler.

http://ant.apache.org/manual/index.html
Ant Tasks | Core Tasks | Exec

Cheers,
~Jeff D.


-----Original Message-----
From: Srivani Ausula [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 23, 2004 8:47 PM
To: Ant Users List
Subject: c / c++ compilation with ant


Hi all
 
I am new to ant
 
I need to compile C / C++ applications using ant. I found only ccTask
description. But with no examples.
 
Can any one please help me ? 
 
At least provide me links (or urls ) which could help me
 
Thanks in advance
Regards
A Srivani
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to