Adding nvcc flag in Visual Studio 2008

Hi,

In order to use cuda nsight debugger I need to compile my cuda passing in the -G0 flag to nvcc.
This flag generates the symbolics information necessary to debug the code.

When I go to source files properities->CUDA Build Rule->Command Line I can see something like that:

echo “C:\CUDA\bin\nvcc.exe” -arch sm_10 -ccbin “C:\Program Files\Microsoft Visual Studio 9.0\VC\bin” -Xcompiler “/EHsc /W3 /nologo /Od /Zi /RTC1 /MTd " -I"C:\CUDA\include” - …

I can’t edit this part, but I can define Additional options below. Putting there just -G0 doesn’t make nvcc compile the file with the -G0 flag.
How can I do it?

I have a similar problem (asked for help in another post, no answer yet :(( )

However for what you want just editing the Visual Studio project file with UltraEdit or another editor will work

I have a similar problem (asked for help in another post, no answer yet :(( )

However for what you want just editing the Visual Studio project file with UltraEdit or another editor will work