CDT API to request a compile of a single C++ file [message #118693] |
Wed, 01 September 2004 15:23  |
Eclipse User |
|
|
|
Where should I start looking for ways to be able to programatically
interface with the CDT plug-in to request some C++ file to be compiled,
with certain include and library paths provided?
I'm working on an Eclipse plug-in that lets you create C++ plugins, and
I would like to present, using CDT, a C++ editor (that will come for
free once the CDT is installed), but then be able to, when the user
saves the file, fire off a hard-coded build process (not make driven
unless it has to be), so that if it succeeds I can do something with the
resultant object file, otherwise I can let the CDT plugin report errors
to the user.
I've downloaded the SDK. Any particular locations I should look through?
Any actual API docs, API web reference, Help, or Tutorials ?
Thank you,
- Eddie
|
|
|
Re: CDT API to request a compile of a single C++ file [message #120227 is a reply to message #118693] |
Wed, 08 September 2004 21:10   |
Eclipse User |
|
|
|
It all depends upon the Makefile, which may be supplied by the user (Std
Make).
Thus, we have not provided this interface as of yet.
Sorry,
JC
"Eddie Galvez" <eddie@grassybrook.com> wrote in message
news:ch57dq$le6$1@eclipse.org...
> Where should I start looking for ways to be able to programatically
> interface with the CDT plug-in to request some C++ file to be compiled,
> with certain include and library paths provided?
>
> I'm working on an Eclipse plug-in that lets you create C++ plugins, and
> I would like to present, using CDT, a C++ editor (that will come for
> free once the CDT is installed), but then be able to, when the user
> saves the file, fire off a hard-coded build process (not make driven
> unless it has to be), so that if it succeeds I can do something with the
> resultant object file, otherwise I can let the CDT plugin report errors
> to the user.
>
> I've downloaded the SDK. Any particular locations I should look through?
> Any actual API docs, API web reference, Help, or Tutorials ?
>
> Thank you,
> - Eddie
|
|
|
Re: CDT API to request a compile of a single C++ file [message #120308 is a reply to message #118693] |
Wed, 08 September 2004 22:20  |
Eclipse User |
|
|
|
Originally posted by: lothar.xcerla.com
Eddie Galvez wrote:
> Where should I start looking for ways to be able to programatically
> interface with the CDT plug-in to request some C++ file to be compiled,
> with certain include and library paths provided?
My SCons Builder Plugin is able to issue a compile for a single file.
Although only if you use the SCons build system it provides. It does NOT
work with Makefiles.
(see thread <SCons builder plugin as addon to the CDT>
Lothar
|
|
|
Powered by
FUDForum. Page generated in 0.04574 seconds