Reply to Denis,

On Fri, 16 Jan 2009 22:47:26 +0300, BCS <a...@pathlink.com> wrote:

A better way to go could be to have a config file passed to DMD that
has  a long list of "codefile.d: -flags" and let DMD pick the correct
flags  to append to the command line

You can't set version (and some other options) on per-file basis. Your
best bet would be having two (or more) passes with different files and
compilation options.


That's not the point: I'm thinking you would run dsss with file-at-a-time and dmd would add in one line of the file depending on what file is being compiled. It would be up to the user to make sure that doesn't foobar stuff.


Reply via email to