Generate compile_commands.json for autotools and conan based c++ project

Viewed 106

I have a autotools and conan based c++ project based project and I don't know what has to be done so that compile_commands.json is generated.

In case of cmake and conan based project, cmake.definitions['CMAKE_EXPORT_COMPILE_COMMANDS'] = "ON" in the conanfile.py does the trick.

But what about autotools and conan based c++ project?

0 Answers
Related