February 04, 2016 Re: Vision for the first semester of 2016 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Thursday, 4 February 2016 at 00:50:43 UTC, Tofu Ninja wrote:
> On Wednesday, 3 February 2016 at 23:35:21 UTC, Tofu Ninja wrote:
>> ...
>
> Actually now that I think about it, you can do with out the pragma and just define something like this...
>
> mixin template DubDependency(string dependency, string vers)
> {
> // Does nothing but print a dependency
> version(Dub_Dependency){
> pragma(msg, "DubDependency: \"" ~ dependency ~ "\" \"" ~ vers ~ "\"");
> }
> }
>
>
> Then whenever you need it you just put:
> mixin DubDependency!("derelict-gl3", "==1.0.12");
>
> And to get the dependencies for a file you can just do
> dmd test.d -o- -version=Dub_Dependency
Actually, nvm, wouldn't actually work because as soon as you add an import derelict.opengl3.gl3; it would error out because it cant find the file and it wouldn't print the dependencies.
|
February 04, 2016 Re: Vision for the first semester of 2016 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Thu, 04 Feb 2016 01:23:14 +0000, Tofu Ninja wrote:
> Actually, nvm, wouldn't actually work because as soon as you add an import derelict.opengl3.gl3; it would error out because it cant find the file and it wouldn't print the dependencies.
You could do it with libdparse, since it doesn't do semantic analysis.
|
February 06, 2016 Re: Vision for the first semester of 2016 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Friday, 29 January 2016 at 02:18:38 UTC, Rikki Cattermole wrote:
> Right now, image library is more or less ready for next feedback.
> Windowing is almost there, really just needs a bit of testing and its done.
>
> So in other words, the hold up, is me.
Where can I find the code to be tested? You have too many projects on github :)
Piotrek
|
February 07, 2016 Re: Vision for the first semester of 2016 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Piotrek | On 07/02/16 4:23 AM, Piotrek wrote: > On Friday, 29 January 2016 at 02:18:38 UTC, Rikki Cattermole wrote: >> Right now, image library is more or less ready for next feedback. >> Windowing is almost there, really just needs a bit of testing and its >> done. >> >> So in other words, the hold up, is me. > > Where can I find the code to be tested? You have too many projects on > github :) > > Piotrek https://github.com/rikkimax/alphaPhobos |
Copyright © 1999-2021 by the D Language Foundation