Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Fwd: [cdt-dev] Re: Custom Make/Call gcc from Eclipse

Hello,

I want to know if there is some documentation regarding custom make file generation in CDT. I just want to add single line to the make file whenever it is automatically generated by the Managed Make system of CDT.
gcc -Wall calc.c /usr/lib/libm.a -o calc

Is there any way to do this?

Thank You,
Rohit



---------- Forwarded message ----------
From: Rohit Girme <rgirme@xxxxxxx>
Date: Tue, Oct 13, 2009 at 9:47 AM
Subject: Re: [cdt-dev] Re: Custom Make/Call gcc from Eclipse
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>


Hello,

Thank you for your reply Jesper.
But I want this to happen for every file that the user creates. I want to add it as a functionality - building a user c/cpp file with a specific library.
I do not want the user to write a custom make file everytime for this.

Thank You,
Rohit


On Tue, Oct 13, 2009 at 1:51 AM, Jesper Eskilson <jesper.eskilson@xxxxxx> wrote:
Rohit Girme wrote:
Hello,

Let me put what I want in different words. I want to generate my own make file with my own commands to gcc. I think I need to write a plugin for that. So I need to know how CDT generates it own make file using the Managed Build System. I believe I can modify that according to my needs. I found out that there was a bug called "CDT Custom Build Steps" which has been solved. I am looking into that now.
Please guide me if someone knows anything about what I am doing.

If you have your own Makefile you don't need to write a plugin to use that from CDT, just create a Makefile project and CDT will run make for you.

--
/Jesper

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top