Visual Studio isn't recognizing .cu as a dependency of a .hpp file!

If I change a .hpp file, the dependent sources aren’t re-compiled!

I found a blog post about this: https://codeyarns.com/2011/02/16/visual-studio-dependency-for-cu-files/

It seems like the issue isn’t exactly new. Has it been fixed yet? Are there any better solutions than just manually setting the dependencies myself?

Edit: Maybe I’ll have to go back to CMake then. The FindCUDA module may not work with all installs of CUDA on a system but I think it’ll cover most systems and it properly manages header dependencies.