Hi Mitchell
It would be great if you were interested in doing some work on the CDT
plugin. It's one part of the C++ support that isn't receiving any love at
the moment, and it would cool if there was a 'champion' who could keep it
up-to-date with all of the changes to C++ support, as well as adding
missing IDE-specific features like build-paths.

There is a design spec for the ongoing development of C++ support in
Gradle:
https://github.com/gradle/gradle/blob/master/design-docs/continuous-delivery-for-c-plus-plus.md.
You'll notice the absence of any mention of CDT in there :).

I'm currently working on extending the 'cpp' plugin to allow compilation of
C and Assembly language sources. The C-language support is already in, and
the Assembly stuff will be in soon. C compilation is done via GCC using the
'-x c' option, so I think that should address the second feature you're
looking at. A recent commit added a sample for how a C project could look (
https://github.com/gradle/gradle/tree/master/subprojects/docs/src/samples/cpp/c)
which should be available in the next nightly build (
http://gradle.org/nightly).

Let me know if you need any more pointers on how to proceed with improving
the CDT support. I really appreciate your offer of assistance.
Daz



On 11 July 2013 09:52, Mitchell Mounts <mmou...@allstontrading.com> wrote:

> Hello all,
>
> I am looking at contributing to gradle to help add more functionality to
> it's eclipse-cdt and g++ support.  Specifically, I want to add an option in
> CDT to allow users to add build paths.  I would also like to give users the
> option to compile C code with the 'g++ -x c' option.
>
> I noticed that a recent commit to the cpp sub-project was entitled
> 'Initial cut of support for compiling C sources,' and I am curious if this
> actually removed the feature that I am proposing and if there is a specific
> reason to avoid this path?
>
> For the cdt change, I have been looking at the source and it seems to me
> that the change would have to be made in the CprojectDescriptor model.
>
> If there is anything else about gradle's C and CDT functionality that I
> should be made aware of, please let me know!
>
> Thanks,
> Mitchell
>
> ------------------------
> This message is for the named person(s) use only. It may contain
> confidential proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission. If
> you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify the
> sender. You must not, directly or indirectly use, disclose,distribute,
> print, or copy any part of this message if you are not the intended
> recipient. Allston Trading LLC and its subsidiaries and affiliates each
> reserve the right to monitor all e-mail communications through its
> networks. Any views expressed in this message are those of the individual
> sender, except where the message states otherwise and the sender is
> authorized to state them to be the views of any such entity.
> ------------------------
>



-- 
Darrell (Daz) DeBoer
Principal Engineer, Gradleware
http://www.gradleware.com

Reply via email to