Visual Studio Build output, how to disable repeating cuda command line


In Visual Studio 2022, when I set up and compile any Cuda Code, and then build it, the Output window will show the build process for example something like

Rebuild started at 18:24...
1>------ Rebuild All started: Project: SomeProject, Configuration: Debug x64 ------
1>Compiling CUDA source file someFile.cu...
1>
NOW THE NVCC COMMAND LINE IS PRINTED: 
1>c:\SomeProject> "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5\bin\nvcc.exe" .........................
1>someFile.cu

This repeats for each .cu file

My question is: Can I somehow disable the output of these detailed nvcc calls, which span multiple lines and normally just clog the output window?

I alredy looked in Visual Studio at the setting: Tools / Options / Projects and Solutions / Build and Run / MSBuild project build output verbosity. But setting that to quiet will mute all output completely. I would like to see the filenames, but not the detailed command line for the nvcc call?

Leave a Reply

Your email address will not be published. Required fields are marked *