How to set flags on visual studio 2012?

Hey guys, about a week ago I began looking into CUDA programming and so far it has been a pretty smooth ride. However, I recently found out that CUDA does not support double variables by default, which is problematic to me as I need double precision for my programs. From what I have found, I need to add the flag “-arch sm_13” but I have absolutely no idea how to do this with Visual Studio 2012. Anybody mind pointing me in the right direction?