build system

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Wed Oct 26 07:43:46 PDT 2011


Obviously. I'm using rdmd currently, because my work primarily
consists of research and i didn't collect a large enough code base.
It's not fit for building lots of targets from a big code base.
pragma(lib, ...) is the tip of the iceberg, that I'm talking about.

On Wed, Oct 26, 2011 at 6:27 PM, Jesse Phillips
<jessekphillips+d at gmail.com> wrote:
> On Wed, 26 Oct 2011 14:26:56 +0400, Gor Gyolchanyan wrote:
>
>> I had a few thoughts about integrating build awareness into DMD.
>> It would be really cool to add a flag to DMD to make it compile and link
>> in all import-referenced modules.
>> Also, it would be awesome to store basic build information in modules
>> themselves in the form of special comments (much like documentation
>> comments), where one could specify external build dependencies, output
>> type, etc.
>> There would be no need for makefiles and extra build systems. You'd just
>> feed an arbitrary module to the compiler and the compiler would build
>> the target, to which that module belongs (bu parsing build comments and
>> package hierarchies).
>> Wouldn't this be a good thing to have?
>
> Do you know about rdmd and pragma(lib,...) ?
>


More information about the Digitalmars-d mailing list