]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added make indent
authoralberto sartori <alberto.sartori86@gmail.com>
Tue, 1 Mar 2016 22:22:55 +0000 (23:22 +0100)
committeralberto sartori <alberto.sartori86@gmail.com>
Tue, 1 Mar 2016 22:22:55 +0000 (23:22 +0100)
cmake/setup_custom_targets.cmake

index 38daa74e50528d79a1a6720b9de4a10ea8e53cd8..3ae699a6ea66e710d593819cf630c7cfdb29ff77 100644 (file)
@@ -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
+#
 ###\")"
   )
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.