rdmd configuration files

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 11 14:58:35 PDT 2016


On Thu, 11 Aug 2016 20:44:12 +0000, Lodovico Giaretta wrote:
> In file rdmd_wrapper.sh:
> rdmd -my-special -command-line -parameters $*
> 
> When you call it this way:
> ./rdmd_wrapper mymodule.d

You can add parameters inside the file itself:

#!/usr/bin/rdmd --shebang -m32 -d -I/opt/vibed/source
void main() {}

Maybe not ideal but it works.


More information about the Digitalmars-d mailing list