summaryrefslogtreecommitdiff
path: root/cmake/BTDeveloper.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/BTDeveloper.cmake')
-rw-r--r--cmake/BTDeveloper.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/cmake/BTDeveloper.cmake b/cmake/BTDeveloper.cmake
deleted file mode 100644
index 483dc2b..0000000
--- a/cmake/BTDeveloper.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-FILE(GLOB_RECURSE ORIG_SOURCE_FILES
- RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/src/"
- "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/src/*.h"
-)
-FOREACH(FILE ${ORIG_SOURCE_FILES})
- SET(REFORMAT_FILES "${REFORMAT_FILES} ${FILE}")
-ENDFOREACH(FILE ${ORIG_SOURCE_FILES})
-
-SET(ASTYLE_OPTIONS "--indent=spaces=4 --brackets=attach --indent-classes --indent-switches --brackets=break-closing --pad=oper --suffix=none --options=none")
-
-ADD_CUSTOM_TARGET("reformat_codebase"
- COMMAND "sh" "-c" "astyle ${ASTYLE_OPTIONS} ${REFORMAT_FILES}"
- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/"
- VERBATIM
-) \ No newline at end of file