diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-03-23 01:04:48 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-03-23 01:04:48 +0000 |
| commit | 0db04b47780dcbfe74e58c2f41fa9432ce3369cc (patch) | |
| tree | 6c1d96ffdc43a506cbb0715f056ba9c8e25947dd | |
| parent | 719a4d5d8385b8565ef5262725df8a1474380ed7 (diff) | |
| download | bcm5719-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.txt | 2 |
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) |

