Make logging ninja friendly
When building with ninja instead of make __FILE__
will be relative
and logging therefore break. This moves stripping the path
from __FILE__
to runtime and handles a relative filepath as
well as a full one.
When building with ninja instead of make __FILE__
will be relative
and logging therefore break. This moves stripping the path
from __FILE__
to runtime and handles a relative filepath as
well as a full one.