How to pass Compile Time info to source files

UDW via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 27 19:44:43 PDT 2016


Hi,

I would like to know how to do something like this

http://stackoverflow.com/questions/237542/learning-the-source-codes-filename-at-compile-time

using dmd or dub.
Can somebody point me in the direction of the doco for this 
please because I can't find it :(

ty ss



More information about the Digitalmars-d-learn mailing list