Define enum value at compile time via compiler argument?

Thomas Mader thomas.mader at gmail.com
Mon Dec 25 16:38:32 UTC 2017


On Monday, 25 December 2017 at 16:22:11 UTC, Mengu wrote:
> is it a relative path? if so:
>
>     pragma(msg, 
> __FILE_FULL_PATH__.split("/")[0..$-1].join("/"));
>
>
> https://run.dlang.io/is/gRUAD6

Nice idea but it is an absolute path. :-/


More information about the Digitalmars-d-learn mailing list