How to use CMAKE_EXPORT_COMPILE_COMMANDS?

I suggest setting

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

in the CMakeList.txt

Leave a Comment