[ant-contrib - Help] compiler args (cpptasks)
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4217123
By: allenabq
I'm relatively new to Ant, but am having a great time exploring CPPTASKS. It
will be very useful for our dept project.
My question centers around defining global some global flags for the compiler.
Can anyone provide an example of this?
For instance, I want to use g++ and always have -Wall and
-Wno-ununsed-parameter.
I'm assuming there's a way I can do this with refid??, but not certain.
Something like...
<cc debug="true" outfile="${bin}/math" outtype="static">
...
<compiler refid="[inserts the g++ for name and the compiler args]" />
...
</cc>
Any help appreciated.
-Allen
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=113701
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV