Commit [r58267] Maximize Restore History

Add the beginnings of style validation integration to BRL-CAD. This approach uses a source code formatter (currently astyle) and treats any difference between astyle's output and the formatting of the source files in the target's sources list as a compilation-haulting error. Currently enabled by ENABLE_STYLE_VALIDATION, but the astyle.opt file currently in use has nothing to do with what will be the final formatting standard - DO NOT MAKE SOURCE CODE FORMATTING CHANGES BASED ON CURRENT RESULTS! Other TODO items for this feature - modularize BRLCAD_ADDLIB logic into macro and add to executables targets as well, incorporate per-target headers lists so we can also enforce good formatting behavior in headers, modularize to allow other formatters than astyle (in cause the LGPLv3 is any sort of problem down the road...), test on anything other than Ubuntu Linux... etc.

starseeker 2013-10-23

added /brlcad/trunk/misc/CMake/FindASTYLE.cmake
added /brlcad/trunk/misc/CMake/astyle.cmake.in
added /brlcad/trunk/src/other/astyle
added /brlcad/trunk/src/other/astyle.dist
added /brlcad/trunk/src/other/astyle/ASBeautifier.cpp
added /brlcad/trunk/src/other/astyle/ASEnhancer.cpp
added /brlcad/trunk/src/other/astyle/ASFormatter.cpp
added /brlcad/trunk/src/other/astyle/ASLocalizer.cpp
added /brlcad/trunk/src/other/astyle/ASLocalizer.h
added /brlcad/trunk/src/other/astyle/ASResource.cpp
added /brlcad/trunk/src/other/astyle/CMakeLists.txt
added /brlcad/trunk/src/other/astyle/LICENSE
added /brlcad/trunk/src/other/astyle/README
added /brlcad/trunk/src/other/astyle/astyle.h
added /brlcad/trunk/src/other/astyle/astyle_main.cpp
added /brlcad/trunk/src/other/astyle/astyle_main.h
added /brlcad/trunk/src/other/astyle/gpl-3.0.txt
changed /brlcad/trunk/INSTALL
changed /brlcad/trunk/configure
changed /brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake
changed /brlcad/trunk/misc/astyle.opt
changed /brlcad/trunk/src/other/CMakeLists.txt
/brlcad/trunk/misc/CMake/FindASTYLE.cmake Diff Switch to side-by-side view
Loading...
/brlcad/trunk/misc/CMake/astyle.cmake.in Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle.dist Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/ASBeautifier.cpp Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/ASEnhancer.cpp Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/ASFormatter.cpp Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/ASLocalizer.cpp Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/ASLocalizer.h Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/ASResource.cpp Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/CMakeLists.txt Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/LICENSE Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/README Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/astyle.h Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/astyle_main.cpp Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/astyle_main.h Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/astyle/gpl-3.0.txt Diff Switch to side-by-side view
Loading...
/brlcad/trunk/INSTALL Diff Switch to side-by-side view
Loading...
/brlcad/trunk/configure Diff Switch to side-by-side view
Loading...
/brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake Diff Switch to side-by-side view
Loading...
/brlcad/trunk/misc/astyle.opt Diff Switch to side-by-side view
Loading...
/brlcad/trunk/src/other/CMakeLists.txt Diff Switch to side-by-side view
Loading...