Skip to content

Commit

Permalink
Merge pull request #1430 from VinzenzBildstein/main
Browse files Browse the repository at this point in the history
Fixed bugs introduced by clang-format and clang-tidy
  • Loading branch information
VinzenzBildstein authored Jun 17, 2024
2 parents d034e1c + 537c75a commit c93fcfe
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 99 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -419,3 +419,9 @@ FetchContent_MakeAvailable(
iThembaData
)

#----------------------------------------------------------------------------
# create a compile_commands.json file which can be used for clang-tidy
if(NOT DEFINED ENV{CMAKE_EXPORT_COMPILE_COMMANDS})
message("ENV(CMAKE_EXPORT_COMPILE_COMMANDS) NOT DEFINED")
set($ENV{CMAKE_EXPORT_COMPILE_COMMANDS} TRUE)
endif()
Loading

0 comments on commit c93fcfe

Please sign in to comment.