Skip to content

Commit

Permalink
Cleanup comments
Browse files Browse the repository at this point in the history
  • Loading branch information
a4z committed May 15, 2024
1 parent 5d6f1bf commit e897af0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ if(PROJECT_IS_TOP_LEVEL)

add_custom_target(
clang-format
# COMMAND git ls-files | grep -E ".*\\.(c|h|cpp|hpp)$" | xargs clang-format -i
COMMAND ${FORMAT_COMMAND}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM
)

add_custom_target(
clang-format-check
# COMMAND git ls-files | grep -E ".*\\.(c|h|cpp|hpp)$" | xargs clang-format --Werror --dry-run
COMMAND ${FORMAT_CHECK_COMMAND}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM
Expand Down

0 comments on commit e897af0

Please sign in to comment.