Visual C++ : C or C++ project


I’d like to use in a project the __syncthreads function. But __cplusplus must be defined.

When my project is set for CUDA, the C++ item isn’t in the project properties, and so I can’t set my project as C or C++.
I don’t see a similar option in the CUDA settings.

So, how to define my project as C++ ?