Skip to content

Commit

Permalink
Fix search directories for clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stotko committed Nov 16, 2024
1 parent e6eb09f commit 1b7b2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/setup_clang_format.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function(stdgpu_setup_clang_format)
endif()

foreach(FILE_EXT IN ITEMS ".h" ".cuh" ".cpp" ".cu" ".hip" ".inc")
foreach(FILE_DIR IN ITEMS "src/stdgpu" "examples" "benchmark/stdgpu" "test/stdgpu" "test/install_test")
foreach(FILE_DIR IN ITEMS "src" "examples" "benchmarks" "tests")
file(GLOB_RECURSE SOURCE_FILES_PART LIST_DIRECTORIES FALSE "${FILE_DIR}/*${FILE_EXT}")
list(APPEND SOURCE_FILES ${SOURCE_FILES_PART})
endforeach()
Expand Down

0 comments on commit 1b7b2e8

Please sign in to comment.