|Re: Calling a custom compiler [message #1058093 is a reply to message #1058072]
||Sat, 11 May 2013 00:37
| Henrik Lindberg
Registered: July 2009
On 2013-10-05 21:28, Erick Fonseca wrote:|
> I just found that I can easily create a custom call as an external call
> (under the run menu).
> However, I'd like to include in the call things like imported files.
> E.g., if my DSL file has "import mylib", I'd like to include a command
> line flag like "-i mylib.dsl". How can I integrate that with external
You could write an internal builder that is triggered on resource
changes (when a file is saved). It then runs the external builder (say
when in an error free state...)
Does your compiler have ANT integration? If so, you could perhaps
integrate it via the ANT support in Eclipse (I have not done this, so I
don't know if it is easy, but maybe worth exploring if you know ANT or
if already supported in some way for your compiler).
Just 2c from me...
Powered by FUDForum
. Page generated in 0.14494 seconds