[polly] r177795 - cmake: Do not clang-format check the externally imported json library

Tobias Grosser grosser at fim.uni-passau.de
Fri Mar 22 18:04:49 PDT 2013


Author: grosser
Date: Fri Mar 22 20:04:48 2013
New Revision: 177795

URL: http://llvm.org/viewvc/llvm-project?rev=177795&view=rev
Log:
cmake: Do not clang-format check the externally imported json library

Modified:
    polly/trunk/CMakeLists.txt

Modified: polly/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/CMakeLists.txt?rev=177795&r1=177794&r2=177795&view=diff
==============================================================================
--- polly/trunk/CMakeLists.txt (original)
+++ polly/trunk/CMakeLists.txt Fri Mar 22 20:04:48 2013
@@ -160,6 +160,8 @@ configure_file( ${CMAKE_CURRENT_SOURCE_D
 
 # 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)





More information about the llvm-commits mailing list