summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2013-03-23 01:04:48 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2013-03-23 01:04:48 +0000
commit0db04b47780dcbfe74e58c2f41fa9432ce3369cc (patch)
tree6c1d96ffdc43a506cbb0715f056ba9c8e25947dd
parent719a4d5d8385b8565ef5262725df8a1474380ed7 (diff)
downloadbcm5719-llvm-0db04b47780dcbfe74e58c2f41fa9432ce3369cc.tar.gz
bcm5719-llvm-0db04b47780dcbfe74e58c2f41fa9432ce3369cc.zip
cmake: Do not clang-format check the externally imported json library
llvm-svn: 177795
-rw-r--r--polly/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt
index dbfa00358f2..85fe823ab5d 100644
--- a/polly/CMakeLists.txt
+++ b/polly/CMakeLists.txt
@@ -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)
OpenPOWER on IntegriCloud