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

Kagamin spam at here.lot
Tue Feb 25 22:45:49 PST 2014


On Tuesday, 25 February 2014 at 13:26:20 UTC, Dejan Lekic wrote:
>>
>> I don't like it. I would prefer a CTFE-able counter part to 
>> boost::program_options that generates thouse enums from a 
>> config file.
>
> If you want a config file, you do not need -D args. You simply 
> import() it. Right?

or import myconfig; and specify -I path to myconfig.d instead of 
-J path.


More information about the Digitalmars-d-learn mailing list