...
- Enable .cu filenames for CDT
- Window -> Preferences -> C/C++ -> File Types
- New... : add .cu as a C Source File type
- Window -> Preferences -> C/C++ -> File Types
- Add Includes for the CUDA and SDK libraries
- Project -> Properties -> C/C++ General -> Path and Symbols
- Add... : CUDA includes for your project
- Project -> Properties -> C/C++ General -> Path and Symbols
- Disable some of the error checking (optional, project will build anyway using the makefile you provide )
- Project -> Properties -> C/C++ General -> Code Analysis (select radio button: use project settings)
- Syntax and Semantic Errors
- Symbol is not resolved
- Type cannot be resolved
- Field cannot be resolved
- Syntax and Semantic Errors
- Project -> Properties -> C/C++ General -> Code Analysis (select radio button: use project settings)
- If the makefile project doesn't support the target "all" (as with the SDK examples), change the build behaviour.
- Project -> Properties -> C/C++ Build -> Behaviour tab -> Build field (remove "all")
...