Thanks,
you're right it's pretty straight forward.
but it seems that under windows i have to call vsvars32 script to init env
variables.
if i run ..vsvars32.bat and then gradle build it works fine
but it doesnt work with ants 'exec' before the 'cc'
any suggestions??



Russel Winder-4 wrote:
> 
> On Tue, 2009-01-20 at 06:32 -0800, BSap wrote:
>> 
>> any example of using AntBuilder with ant-contrib?
> 
> I have deleted all my uses of cpptasks in favour of using SCons, so I
> don't have any.  Having said this as long as you have the cpptasks.jar
> in the classpath, then it is just a taskdef needed then you can use the
> cc task -- just as with any other optional task. 
> 
>> 
>> Russel Winder-4 wrote:
>> > 
>> > On Tue, 2009-01-20 at 04:29 -0800, BSap wrote:
>> >> Hi,
>> >> Can anyone provide some hints / high level guidelines to get me
>> started
>> >> compiling c/cpp project?
>> >>  (writing AntCC / CPlugin if there isn't one already available) 
>> > 
>> > There is cpptasks which works with Ant, and therefore with Gant and
>> > Gradle.  However having tried it a bit, my strong advice is for all C
>> > and C++ compilation use SCons.
>> > 
>> > -- 
>> > Russel.
>> > ====================================================
>> > Dr Russel Winder                 Partner
>> > 
>> > Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
>> > 41 Buckmaster Road,              f: +44 8700 516 084
>> > London SW11 1EN, UK.             m: +44 7770 465 077
>> > 
>> >  
>> > 
>> 
> -- 
> Russel.
> ====================================================
> Dr Russel Winder                 Partner
> 
> Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
> 41 Buckmaster Road,              f: +44 8700 516 084
> London SW11 1EN, UK.             m: +44 7770 465 077
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Compile-c-cpp-tp21562192p21567252.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to