A library a build script compiles with MSVC (CMake, the cc crate) kept its absolute source paths through __FILE__: -ffile-prefix-map exists only on gcc and clang. cl.exe and link.exe read CL and LINK themselves, so the roots are trimmed whatever runs the compiler. Longest root first: the first match wins. |
||
|---|---|---|
| .. | ||
| create-waybetter | ||
| runtime | ||
| shell | ||
| waybetter | ||