Yes,
after more reading and thinking, I think it might need some adaptation
of the tools. CMake targets NVCC, I was kinda hoping that it would spew
out the nvcc options that could then be fed to the tools I want to yo use.
But those specific tools are all clang based, so they probably don't
Presuming makefile target, would it help if after CMake you do "make
VERBOSE=1" ? Verbose mode should show all compilation commands, maybe you
could further parse them into the format you want.
Kind regards,
- Dmitry.
пт, 19 окт. 2018 г. в 18:17, Urs :
> Hi,
>
> I'm trying to get CMake to output
Hi,
I'm trying to get CMake to output a compilation database for my project
using gcc and CUDA (nvcc). I'd use the compile_commands.json file for
rtags navigation in emacs and clang-tidy inspection.
To do that, I just added
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
to my CMakeLists.txt
But it l