Whoops. Forgot to mention that I don't need the path truncation just the info that is exposed by the compiler or build system to source files at compile time and how to retrieve it. Thank you in advance :)