getting __DIR__ and __TIME__ of compilation?

Jacob Carlborg doob at me.com
Fri Dec 27 07:31:09 PST 2013


On 2013-12-27 16:23, Marco Leise wrote:

> No, but if you just want the path where your sources are you
> could use __FILE__ for any module and cut off the part of
> it that belongs to the module path. A lot of Phobos works at
> compile time, so you might be able to write a one-liner for
> that.

That might not be the same as where the compilation is performed.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list