Hi,

I am using CMake for generating a project file for nvidia nsight to edit
CUDA sources.

$ mkdir myproj-build && cd myproj-build
$ cmake -G"Eclipse CDT4 - Unix Makefiles" ../myproj

The problem is, eclipse won't recognize the compiler errors output by nvcc.
I enabled the "nvcc error parser" in "project->properties->C/C++ Make
Project->Error Parsers" and moved it to the top of the list.
Error parsing works fine for "native" nsight CUDA projects and for
non-CUDA/non-nvcc c++ cmake generated projects.

Is this a known issue? Anybody have a fix?

System: Linux Ubuntu 14.04.1 LTS x64

Tested cmake versions:
cmake version 2.8.12.2 (Ubuntu 14.04.1 LTS)
cmake version 3.1.0-rc2 (built from source)

Nsight Eclipse Edition 6.5
Eclipse C/C++ Development Tools Version: 8.1.2.nvidia-qualifier

Regards
Georg

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to