Ittay,

On Tue, 2008-05-27 at 06:22 -0700, Ittay Dror wrote:

> and then what if you want to build on windows? it means installing python,
> scons (i'm not sure how good it is in running on windows). and what about
> the difference in operating systems that require using a different set of
> compilers/linker for each (and different way of passing flags)? also, this
> wrapper may need to translate a lot of standard properties from the gradle
> file to the scons file (e.g., version numbers)

SCons works fine on Windows.  What SCons does is to detect which
compiler you have and to provide the appropriate options.  Thus the same
SConstruct file generally works on any platform.  If some platform
specifics are needed then a SConstruct file is actually just a Python
program so you have the whole power of SCons and Python available  to
describe the build.

This is of course the same rationale as why Gant and Gradle are going to
be the major build systems of the future for Java-based system, Groovy
is just a far better language of description than XML.

> i think the reason that C/C++ is not used in ant is mainly because there's
> no good support for it. after modifying cpptask for a project i was doing, i
> can tell you it is written very badly (in my point of view of course), i
> think it is not maintained because it simply was not fun to develop anymore
> for the original author. i don't see a reason why c/c++ projects will not
> benefit from a tool like gradle (if you're using python+scons, why not use
> groovy+gradle?), especially because of the superior support for dependency
> management. 

It is a bit chicken and egg -- if the support is not good then no-one
will use it so things won't get better.  And as you say the cppTasks
code is not the best code I have seen.

In order for Gant or Gradle to be used for C, C++, Fortran, LaTeX builds
they have to have the infrastructure.  But SCons already has the
infrastructure so what motivation is there to replicate and rewrite it
in Groovy, when it is actually easier to use SCons?

BTW All the same arguments apply in the opposite direction for SCons'
Java support.

If there are people out there wishing to build a SCons equivalent C, C
++, Fortran infrastructure for Gant and Gradle then great, lets get on
with it.

-- 
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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to