thomasyuan / cmake-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake-example

This a cmake project example. It supports

  • Check code format with clang-format
  • On GitHub with Actions (cpp-format.yml)
  • Or locally, lazy way find . -path ./build -prune -o -type f -name "*.cpp" -or -name "*.hpp" | xargs clang-format --dry-run --sort-includes -i
  • Static analysis with CppCheck (clang-tidy)

About

License:MIT License


Languages

Language:C++ 65.2%Language:CMake 30.4%Language:Shell 4.4%