How to pass Compile Time info to source files
    Adam D. Ruppe via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sat Aug 27 19:51:13 PDT 2016
    
    
  
The filename passed to the compiler is easy: __FILE__ works in D 
too, and you can just strip off extra path info with ordinary 
functions (like std.path's basename or dirname functions).
    
    
More information about the Digitalmars-d-learn
mailing list