cuda file change not triggering build with vs2017
I'm using cmake-3.11 with cuda-9.2. Using enable_language("CUDA")
. I'm adding cuda source files (.cu) files to add_executable
. The generated vs 2017 solution file ignores any changes to the cuda source files and doesn't build the project. I had to manually compile the cuda source file (Ctrl-F7) and then rebuild the project.
It was not the case with cuda_add_executable