Skip to content

Commit

Permalink
Use clang 17 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
zakaria-fadli-netatmo committed Nov 10, 2024
1 parent 31ecfa2 commit 3785c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ file(GLOB_RECURSE
############################################################

# Add clang-tidy to the project
find_program(CLANG_TIDY_EXE NAMES "clang-tidy-20")
find_program(CLANG_TIDY_EXE NAMES "clang-tidy-17")

if(CLANG_TIDY_EXE)
message(STATUS "clang-tidy found: ${CLANG_TIDY_EXE}")
Expand Down Expand Up @@ -164,7 +164,7 @@ endif()

# Add clang-format to the project only if version >= 17
# using --version
find_program(CLANG_FORMAT "clang-format-20")
find_program(CLANG_FORMAT "clang-format-17")

if(CLANG_FORMAT)
message(STATUS "clang-format found: ${CLANG_FORMAT}")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#### Build system
- CMake 3.19 or later (to be able to use CMakePresets)
- C++ compiler with C++23 support (Recommended clang-17+, The CI uses clang-20)
- C++ compiler with C++23 support (clang 17)
- ninja-build

#### Static analyzes
Expand Down

0 comments on commit 3785c96

Please sign in to comment.