www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Compiler arguments and switches from text file

reply negerns <negerns2000 gmail.com> writes:
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
Aug 26 2007
next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"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.
Aug 26 2007
parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"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.
Aug 26 2007
prev sibling parent Witold Baryluk <baryluk smp.if.uj.edu.pl> writes:
Dnia Sun, 26 Aug 2007 22:20:56 +0800
negerns <negerns2000 gmail.com> napisa=B3/a:

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

dmd file where file contains ie: -O -debug A.d B.d main.d --=20 Witold Baryluk, aleph0 MAIL: baryluk smp.if.uj.edu.pl JID: movax jabber.autocom.pl
Aug 26 2007