CMU15-445 format\clang-format\clang-tidy 失败

CMU15-445 format\clang-format\clang-tidy 失败

  • 问题
  • 修改

问题

-- Setting build type to `Debug` as none was specified.
-- You're using Clang 14.0.0
CMake Warning at CMakeLists.txt:67 (message):
  BusTub/main couldn't find clang-format.


CMake Warning at CMakeLists.txt:78 (message):
  BusTub/main couldn't find clang-tidy.


CMake Warning at CMakeLists.txt:90 (message):
  BusTub/main couldn't find clang-apply-replacements.


-- BusTub/main found cpplint at /home/viento/Documents/bustub/build_support/cpplint.py

修改

  • 修改整个项目的CMakeLists.txt
  • BUSTUB_CLANG_SEARCH_PATH 加上 本机的clang的地址
    CMU15-445 format\clang-format\clang-tidy 失败_第1张图片

你可能感兴趣的:(数据库,cmu15-445)