CMake and CMAKE_EXPORT_COMPILE_COMMANDS
Posted: Fri Jul 05, 2019 7:03 am
I want CMake to generate compile_commands.json but when I put
in CMakeLists.txt, but I can't get it to output the json file that I need for another tool.
How and where should this setting get invoked within the project examples included with the IDF on GitHub?
Thanks,
--Dale
Code: Select all
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
How and where should this setting get invoked within the project examples included with the IDF on GitHub?
Thanks,
--Dale