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?
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).
--
View this message in context:
http://www.nabble.com/Can-gradle-build-C-libraries-and-RPM-distributions--tp17071528p17484012.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