I cannot make the property “Cuda C/C+±>Host->Preprocessor Definitions” work. Anything I type in there doesn’t end up on the command line. In addition “Cuda C/C+±>Host->Use Host Preprocessor Definitions” doesn’t seem to work either. My c++ files have a bunch of definitions, but my cuda command line ends up having no -D"…" for any *.cu files at all.
The only way I discovered working is to pass a bunch of -D flasgs into “Additional Parameters” field.