dmdz
Walter Bright
newshound1 at digitalmars.com
Thu Mar 18 14:19:21 PDT 2010
Andrei Alexandrescu wrote:
> To be frank, I even think you shouldn't worry at all about "module".
> Just extract the blessed thing with caching and call it a day. I was
> also thinking of simplifying options etc. by requiring a file
> "dmdflags.txt" in the archive and then do this when you run dmd:
>
> dmd `cat dmdflags.txt` stuff morestuff andsomemorestuff
dmd will already read switches out of a file:
dmd @cmdfile ...
So there's no need to parse the command file or do any shell expansion on it.
Just pass it, and precede it with an @.
More information about the Digitalmars-d
mailing list