ament_cmake_clang_tidy: No compilation database files found
Open
help wanted
- Dominant language
- Python
- Stars
- 50
- Forks
- 129
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 3
Description
It's unclear to me how to run clang-tidy in addition to the `ament_lint_common` linter suite. I'm building my package with `--cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=1`, which creates `build/compilation_database.json`, but `ament_cmake_clang_tidy` doesn't seem to pick it up and instead gives the error in the title.
In `CMakeLists.txt`, I have
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
and in `package.xml`
ament_lint_auto
ament_cmake_clang_tidy
ament_lint_common
Is something missing there?
Contributor guide
Assessment
This issue has not been assessed yet.