By some reason, the compile command to generate dependencies for a source file with -depspec auto runs in the source directory.
The problem is, it contains also compile flags like -I with the path that is relative and suited for the build directory. Therefore the command must run in the build directory and all other options must be adjusted for that.
By some reason, the compile command to generate dependencies for a source file with
-depspec autoruns in the source directory.The problem is, it contains also compile flags like
-Iwith the path that is relative and suited for the build directory. Therefore the command must run in the build directory and all other options must be adjusted for that.