I would like to know if there is a simple way to add the -keep option to nvcc under Visual Studio?
I am currently using the cuda rules that have been linked previously in this forum but I cannot find how to pass parameters to the compiler apart from the -emu one.
The solution I’ve found is to use a command line interface to do it, but I’d like to be able to set that from VS.
Under the properties menu for the .cu file, configuration properties, custom build step: add -keep after where the -I (includes) are in the command line (and before the -o).