Andrei Alexandrescu wrote:
I now realize that for large projects a future need would be for dmd to read files off the standard input. The length of the command line is limited.

dmd can read command lines from a file with the:

    dmd @command.txt

syntax. There is no limit to the command line length this way. Also, dmd can read command lines from an environment variable using:

    dmd @COMMAND

These can be arbitrarily combined with other switches:

    dmd -inline @command.txt -release @COMMAND

Reply via email to