The convenience of RDMD comes from the fact, that it looks into the source files to determine what to do. I think it would be even more convenient to make a build tool for D, which would read special comments (much like DDOC, but dedicated to build process) for compiler flags and other build variables.<div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 11:38 AM, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</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 2012-11-27 08:13, Gor Gyolchanyan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd recommend RDMD. It can compile (and run) the given module and it's<br>
entire import tree. No build scripts are necessary.<br>
Very convenient with pragma(lib, "...")<br>
</blockquote>
<br></div>
RDMD is quite good for compiling executables. It won't work for compiling libraries. Quite often a build script is needed to avoid repeating the same compiler/linker flags over and over again.<span class="HOEnZb"><font color="#888888"><br>

<br>
-- <br>
/Jacob Carlborg<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>