mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 09:41:08 +00:00
cmake: Do not clang-format check the externally imported json library
llvm-svn: 177795
This commit is contained in:
parent
719a4d5d83
commit
0db04b4778
@ -160,6 +160,8 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/include/polly/Config/config.h.cmake
|
||||
|
||||
# Add target to check formatting of polly files
|
||||
file( GLOB_RECURSE files *.h *.cpp)
|
||||
file( GLOB_RECURSE jsonfiles lib/JSON/*.h lib/JSON/*.cpp)
|
||||
list( REMOVE_ITEM files ${jsonfiles} )
|
||||
add_custom_command( OUTPUT formatting COMMAND
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/utils/check_format.sh ${files})
|
||||
add_custom_target(polly-check-format DEPENDS formatting)
|
||||
|
Loading…
Reference in New Issue
Block a user