Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clang-tidy to CMakeLists.txt files #82

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Commits on Aug 11, 2023

  1. Add clang-tidy to CMakeLists.txt files

    `clang-tidy` is a great tool to catch bugs at compile time. This commit
    adds support to execute `clang-tidy` to our CMake scripts.
    
    This flag is OFF by default, to enable clang-tidy, append
    `-DENABLE_CLANG_TIDY=On` to `cmake` commands.
    
    I picked a few popular ones, and we may want to enable more later.
    
    https://releases.llvm.org/11.1.0/tools/clang/tools/extra/docs/clang-tidy/checks/list.html
    xatier committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    b459c2b View commit details
    Browse the repository at this point in the history