In a C ++ Bazel project, I want to use tools like Clang Tools or RTags , etc.
To do this, I need to generate the file file compile_commands.json .
The solution is trivial for CMake with CMAKE_EXPORT_COMPILE_COMMANDS .
For simple Make files, you can still use the Bear tool .
However, AFAIK does not have a built-in solution for C ++ Bazel projects.
Additional Information:
:
, , gist: compile_commands.json Bazel.
, bash < -
GitHub :
Source: https://habr.com/ru/post/1680943/More articles:List item position - pythonwebpack with vue-loader and sass-loader cannot import .scss files - webpackBacking up Cassandra on Kubernet - database-backupsIs it possible to store a numpy array in a Data Spark Data Frame column? - numpyRuby on Rails: Custom Routes for Search Results - ruby | fooobar.comVBA Excel Removing Duplicate Rows - vbaRuby on Rails 4: отобразить результаты поиска на странице результатов поиска - rubyError installing npm. errno 4058 - node.jsBrowser popup window - javascriptiOS SpriteKit - SKLabel Outline (SKShader) Font - iosAll Articles