I’ve been building my CUDA project successfully for both debug and release, but suddenly I can no longer build release code.
After pulling my hair out for a day, I notice that even though the project options are set for no debug info, the command line when compiling includes the -G option for debug info.
Has anyone seen this before and know how to get the command line to match the project options again?
I’ve tried copying command line to a cmd window and editing to remove the -G, but that seems to not work easily.