D alternative for C/C++ -Dfoo=42

bearophile bearophileHUGS at lycos.com
Tue Feb 25 05:21:37 PST 2014


Dejan Lekic:

> And yes, if someone builds multiple modules, he/she would have 
> to use fully-qualified name. Example: dmd foo.d bar.d 
> -Dfoo.var1=5 -Dbar.var4=walter

If you are interested in such things I suggest you to take a look 
at how the Fortress language does them.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list