From: alberto sartori Date: Tue, 1 Mar 2016 22:22:55 +0000 (+0100) Subject: added make indent X-Git-Tag: v8.5.0-rc1~1256^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401f124203;p=dealii.git added make indent --- diff --git a/cmake/setup_custom_targets.cmake b/cmake/setup_custom_targets.cmake index 38daa74e50..3ae699a6ea 100644 --- a/cmake/setup_custom_targets.cmake +++ b/cmake/setup_custom_targets.cmake @@ -90,6 +90,15 @@ IF(NOT DEAL_II_COMPONENT_PACKAGE) ) ENDIF() +# +# Provide "indent" target for indenting all headers and source files +# +ADD_CUSTOM_TARGET(indent + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + COMMAND ./contrib/utilities/indent + ) + + # # Provide an "info" target to print a help message: # @@ -128,6 +137,8 @@ FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/print_info.cmake # setup_tests - set up testsuite subprojects # prune_tests - remove all testsuite subprojects # +# indent - indent all headers and source file +# ###\")" )