Re: [anjuta-devel] Scons Support in Anjuta



Hi,
                           في ن، 02-08-2010 عند 20:13 -0400 ، كتب Steve:
Hi List,

I have a feature i would try make out for anjuta as a past-time
project, witch is adding Scons support to the IDE. So, I was wondering
if anyone could point out some cue where I could start out. Or maybe
someone else also started something that could look like it.

There are 2 things you need to do. The first is the builder plugin which
shouldn't be too difficult easy and you can even use the tools plugin if
you don't need any options (e.g. debug/release build variants).

The second is the project backend. I believe this will be really limited
by the fact that SCons uses python and not a simple declarative
language. IMHO, modifying the project structure from Anjuta isn't really
possible.

I've tried to do the same thing with waf by using a plugin written in
python[1]. The approach I used was loading the wscript module like waf
itself does it and providing an API that emulates waf and fills in some
structures. The problem I had is that the current project API isn't very
introspection-friendly (this will hopefully change with the newproject
branch).

HTH,
Abderrahim


[1] Until this is included in Anjuta core, you'll have to use an
external plugin http://bitbucket.org/abderrahim/anjuta-pyloader/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]