No Cuda syntax highlighting/debugging when using CMake.

Louis Child
Tue, 16 Apr 2024 11:58:45 +0000
Usage

Hi, when using Visual Studio to open a CMake project (not a visual studio project generated by CMake) and pass the command line arguments --preset conan-default in CMakeSettings.json I get a valid project that builds without issue. But the intellisense in visual studio has no reference to Cuda or the ability to debug kernels.

If I build a new project in Visual Studio for Cuda all the advertised features are available so I assume that this is a misconfiguration of CMake, but not sure how to fix. Any help would be appreciated.

1 post - 1 participant