cmake: Ensure tools/* is still formatted

This got accidentally dropped in r264283.

Also, drop the wwwfiles from the removal list. This is not needed any more as
we now explicitly list the directories that should be formatted.

llvm-svn: 264397
This commit is contained in:
Tobias Grosser 2016-03-25 12:16:17 +00:00
parent b339594f5d
commit 25a99e98c4
1 changed files with 2 additions and 3 deletions

View File

@ -165,13 +165,12 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/include/polly/Config/config.h.cmake
${POLLY_BINARY_DIR}/include/polly/Config/config.h )
# Add target to check formatting of polly files
file( GLOB_RECURSE files *.h lib/*.cpp lib/*.c)
file( GLOB_RECURSE wwwfiles www/*)
file( GLOB_RECURSE files *.h lib/*.cpp lib/*.c tools/*.cpp tools/*.c tools/*.h)
file( GLOB_RECURSE jsonfiles lib/JSON/*.h lib/JSON/*.cpp)
file( GLOB_RECURSE islfiles lib/External/isl/*.h lib/External/isl/*.c
lib/External/isl/include/isl/*.h lib/External/isl/imath/*.h
lib/External/isl/imath/*.c)
list( REMOVE_ITEM files ${jsonfiles} ${islfiles} ${wwwfiles})
list( REMOVE_ITEM files ${jsonfiles} ${islfiles})
set(check_format_depends)
set(update_format_depends)