Rebuild 0.2 released

Thomas Brix Larsen brix at brix-verden.dk
Tue Feb 6 09:43:57 PST 2007


Gregor Richards wrote:

> Rebuild 0.2 released. http://www.dsource.org/projects/dsss/wiki/Rebuild
> 
> Rebuild 0.2 adds easier linking to libraries with the -ll flag. For
> example:
> 
> rebuild something.d -llncurses -llm
> 
> (-ll stands for "link library")
> 
>   - Gregor Richards

It seems rebuild doesn't respect/parse versions.

>From derelictGL:
    version(Windows)
        import derelict.opengl.wgl;
    else version(linux)
        version = UsingGLX;

    version(UsingGLX)
        import derelict.opengl.glx;

Rebuild doesn't compile derelict.opengl.glx, which it should on my machine.
If I comment version(UsingGLX) out, rebuild compiles the import just fine.

- Brix




More information about the Digitalmars-d-announce mailing list