Thread overview
Compiler arguments and switches from text file
Aug 26, 2007
negerns
Aug 26, 2007
Witold Baryluk
August 26, 2007
The reference says that I can passa a command file to DMD but I can't find any reference how to create a command file. Can anyone please point me to something I can follow? Thanks :)


-- 
negerns
August 26, 2007
"negerns" <negerns2000@gmail.com> wrote in message news:fas29p$akd$1@digitalmars.com...
> The reference says that I can passa a command file to DMD but I can't find any reference how to create a command file. Can anyone please point me to something I can follow? Thanks :)
>
>
> -- 
> negerns

Just put all the compiler switches on their own lines (or maybe even all on one line) in a text file.


August 26, 2007
"Jarrett Billingsley" <kb3ctd2@yahoo.com> wrote in message news:fas3na$d42$1@digitalmars.com...
>
> Just put all the compiler switches on their own lines (or maybe even all on one line) in a text file.

Although if you're looking to automate your build process, you'll probably be better off using DSSS or Bud/Build.


August 26, 2007
Dnia Sun, 26 Aug 2007 22:20:56 +0800
negerns <negerns2000@gmail.com> napisaƂ/a:

> The reference says that I can passa a command file to DMD but I can't find any reference how to create a command file. Can anyone please point me to something I can follow? Thanks :)
> 
> 
> -- 
> negerns

dmd @file


where file contains ie:
-O
-debug
A.d
B.d
main.d



-- 
Witold Baryluk, aleph0
MAIL: baryluk@smp.if.uj.edu.pl
JID: movax@jabber.autocom.pl