Solved by ptrblck in post #2 
              
              
                The --generate-dependencies-with-compile argument was added in CUDA10.2, if I’m not mistaken, so you might need to update your local CUDA toolkit.