How has this developed since march?<div>Was there ever a pull request made for this to starkos?</div><div>We might have the resources to add VS support if the groundwork is already there...</div><div><br><div class="gmail_quote">
On 21 March 2012 12:57, Andrew Gough <span dir="ltr"><<a href="mailto:andrew@goughy.org" target="_blank">andrew@goughy.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, 21 Mar 2012 08:07:34 +0100<br>
Gour <<a href="mailto:gour@atmarama.net">gour@atmarama.net</a>> wrote:<br>
<br>
> On Tue, 20 Mar 2012 13:57:50 +1100<br>
> Andrew Gough <<a href="mailto:andrew@goughy.org">andrew@goughy.org</a>> wrote:<br>
><br>
> Hello Andrew,<br>
><br>
> > The fork supports DMD, GDC, and LDC - but only for D2, and currently<br>
> > only for (g)make. If anyone would like to add support for other<br>
> > toolchains (MSVC/VisualD, Code::Blocks etc) that would be fantastic.<br>
><br>
> I'm very happy seeing the prospect of having D support in premake<br>
> which looks very clean and being of declarative nature.<br>
><br>
> Now I wonder how difficult is to add support for  other toolchains and<br>
> asked about it on the mailing list where Jason replied with: "I did<br>
> try to abstract out common functions between the C++ and C# support.<br>
> The more data points I have to work with, the easier it will be to<br>
> identify the areas that need more abstraction (and what it should<br>
> look like)."<br>
><br>
> Does adding such support involve only Lua skills?<br>
<br>
</div>Mostly, yes.  The internals of premake are completely Lua - on the<br>
positive side, Lua is really easy (syntactically, anyway).<br>
<br>
The internal abstractions are quite good, and there is a strong<br>
decoupling between the internals data structures for project<br>
configurations, and the final build artefact generation (ie. the<br>
Makefile or VS solution etc).  This means it should be relatively easy<br>
to add other toolchain support - you just need to generate a valid<br>
project/solution from the various configurations.<br>
'src/actions/make/make_d.lua' creates the D Makefiles as a starting<br>
point, and there are other toolchain examples for VS, Code::Blocks etc<br>
for C++/C#, so it shouldn't be a big step.<br>
<div class="im HOEnZb"><br>
><br>
> > I have successfully built my own projects and druntime/phobos with<br>
> > it in the past, so I know it can work.<br>
><br>
> I plan to start playing with it as soon as I finish some other non-D<br>
> related tasks.<br>
><br>
> Thank you for working on it.<br>
><br>
><br>
> Sincerely,<br>
> Gour<br>
><br>
><br>
<br>
--<br>
</div><div class="HOEnZb"><div class="h5">Andrew Gough<br>
M: <a href="tel:0408%20596%20656" value="+358408596656">0408 596 656</a><br>
<a href="mailto:andrew@goughy.org">andrew@goughy.org</a><br>
</div></div></blockquote></div><br></div>