Search found 1 match

by dale6998
Fri Jul 05, 2019 7:03 am
Forum: ESP-IDF
Topic: CMake and CMAKE_EXPORT_COMPILE_COMMANDS
Replies: 0
Views: 1769

CMake and CMAKE_EXPORT_COMPILE_COMMANDS

I want CMake to generate compile_commands.json but when I put set(CMAKE_EXPORT_COMPILE_COMMANDS ON) 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? T...