As different platforms and compilers have different requirements in terms of quoting on the command line, getting the exact combination to keep Linux (gcc), FreeBSD (clang) and Windows (Visual Studio) happy is difficult.
If we instead transfer the path in via a definition in a file then these issues are skipped.
This is the same approach used by other Frameworks such as KIO.