mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 14:03:41 +01:00

Cmake compiles we an absolute path, so the macro __FILE__ also has the absolute file in it. It seems that gcc doesn't provide macros for the basename, so we have to truncate them in c directly: https://stackoverflow.com/questions/8487986/file-macro-shows-full-path