From 401f1242033649fb276e31791446bbb45abfc66b Mon Sep 17 00:00:00 2001 From: alberto sartori Date: Tue, 1 Mar 2016 23:22:55 +0100 Subject: [PATCH] added make indent --- cmake/setup_custom_targets.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 +# ###\")" ) -- 2.39.5