Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Adding include and library paths via a plugin
Adding include and library paths via a plugin [message #161160] Thu, 29 December 2005 02:32 Go to next message
Eclipse UserFriend
Originally posted by: eldad.ilogix.com

I am trying to write a plugin that adds include and library paths to CDT
projects
based on Cygwin.

Looking at the documentation I see there are ways to write my own types of
projects
and options, but what if I have a tool that just wants to add its own header
files and libraries
to an existing managed project. How can I add these automatically via a
plugin or by providing
my own autogenerated makefiles that can be called from the standard
generated makefile?

Thanks,

Eldad.
Re: Adding include and library paths via a plugin [message #164770 is a reply to message #161160] Mon, 27 February 2006 14:58 Go to previous message
Eclipse UserFriend
Eldad-

I don't see a reply for you. Did anyone tell you about the documentation
under Eclipse Help? If you have CDT installed there should be a section for
CDT Plug-in Developer Guide that has a Programmer's Guide section on Managed
Build system Extensibility Document. The sample code creates a plug-in and
then there is a section on Defining Environment Variables that provides Java
code for an Environment Variable Supplier. You can attach the class to your
plug-in in the ProjectType's projectEnvironmentSupplier extension point or
for a specific configuration in the Toolchain's
configurationEnviornmentSupplier extension point.

-Keithen


"Eldad Palachi" <eldad@ilogix.com> wrote in message
news:dp03b5$a0$1@utils.eclipse.org...
>I am trying to write a plugin that adds include and library paths to CDT
>projects
> based on Cygwin.
>
> Looking at the documentation I see there are ways to write my own types of
> projects
> and options, but what if I have a tool that just wants to add its own
> header files and libraries
> to an existing managed project. How can I add these automatically via a
> plugin or by providing
> my own autogenerated makefiles that can be called from the standard
> generated makefile?
>
> Thanks,
>
> Eldad.
>
Previous Topic:Output on console printed in 2 colors
Next Topic:Trouble Making and Debugging a project
Goto Forum:
  


Current Time: Sun Jul 20 15:21:36 EDT 2025

Powered by FUDForum. Page generated in 0.03931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top