Ittay, On Mon, 2008-05-26 at 23:35 -0700, Ittay Dror wrote: > Russel Winder-4 wrote: > > > > I am not sure the Ant tasks are really up to the job of handling C and > > Fortran builds well. I know there is a C/C++/Fortran task (cpptask in > > ant-contrib) but it isn't very sophisticated -- but maybe I have missed > > something. Personally, I would use SCons for a C, C++, Fortran related > > builds. > > > > cpptask is indeed not sophisticated and also not developed any more. Maven > has the NAR plugin, it uses cpptask for the compilation but adds module > dependencies and configuration. Maybe it can be ported to gradle?
I think the fact that it is not being developed further is probably very telling of the amount of use C and C++ build gets in Ant. Personally I would prefer to write a Ant task wrapper for SCons and use SCons' massive infrastructure for C and C++ builds rather than further develop a new or maintain an old Ant task > Russel Winder-4 wrote: > > > > OK, this may seem disloyal given my involvement in Gant, Groovy and > > Gradle, but it has to be accepted that different build systems have > > grown up focused on different language support. Rake is Ruby focused, > > Ant, Maven, Gant and Gradle are Java/Groovy focused, and SCons is C/C > > ++/Fortran/LaTeX focused. > > > But if someone is working on a large project, involving both java and C, it > is better if there is one build system. Not only does it mean you don't need > to learn two frameworks, but it also gives you a single point of execution > for building the whole product and handle dependencies (e.g., C code can > implement JNI). The question is which is the biggest party. If the project is mostly Java with a couple of C or C++ files then clearly the Ant/Maven/Gant/Gradle route is the right one. If the project is mostly C/C++/Fortran with a little bit of Java then SCons would be the right way to go. SCons' Java support really isn't up to anything big, but it is fine for little bits. -- 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
signature.asc
Description: This is a digitally signed message part
