1. 10 Jun, 2016 1 commit
    • Manuel Grizonnet's avatar
      ENH: Explicitly recognize virtual functions · 3de2b346
      Manuel Grizonnet authored
          clang-tidy tool can insert missing override keyword as a macro so that missing [optional] virtual identifiers can be easily added.
      
          build otb with clang 3.8 and use cmake option CMAKE_EXPORT_COMPILE_COMMANDS=ON. Most modules and third parties have been activated.
      
          #Save override occurences in otb code
          cd src/Modules ; grep -nR "override" * > ~/temporary/override_otb.txt
      
          #Run clang modernize check using utility script which allow to process the code in parallel
          python run-clang-tidy.py -clang-tidy-binary ~/software/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-tidy -checks=-*,modernize-use-override -header-filter=/home/grizonnetm/projets/otb/src/OTB/Modules/.*/.*/include/.* -j8 -fix -p ~/projets/otb/bin/release/OTB-clang3.8/ ~/projets/otb/src/OTB/Modules/*/*/src/*.cxx ~/projets/otb/src/OTB/Examples/*/*.cxx ~/projets/otb/src/OTB/Modules/*/*/test/*.cxx > ~/temporary/run-clang-tidy-log.txt
      
          #Replace override by ITK macro (to maintain compat with c++98)
          find . -type f -print -name "*.h" -o -name "*.txx" |xargs perl -pi -e 's/\ override/\ ITK_OVERRIDE/g'
      3de2b346
  2. 04 May, 2015 1 commit
  3. 22 Feb, 2015 1 commit
  4. 21 Feb, 2015 1 commit
  5. 19 Feb, 2015 1 commit
  6. 18 Feb, 2015 2 commits
  7. 28 Oct, 2014 1 commit
  8. 15 Nov, 2013 3 commits
    • Julien Malik's avatar
      STYLE: Remove CMake-language block-end arguments · e84f23c4
      Julien Malik authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      
      NOTE: MUST USE GNU compliant version of sed
      Run the following shell code (Adopted from Brad King scripts for CMake):
      
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed \
      && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
         | xargs sed -i -f convert.sed \
      && rm convert.sed
      
      
      This has been adapted from ITK commit e52dbe7fa476f6283c9b9d1507fca052355113a4
      e84f23c4
    • Julien Malik's avatar
      STYLE: switch all CMake files to lower case format · c89f9a38
      Julien Malik authored
      This modification is based according to
      the process described in ITK/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt
      c89f9a38
    • Julien Malik's avatar
  9. 31 Mar, 2011 1 commit
  10. 12 Jul, 2011 1 commit
  11. 08 May, 2011 1 commit
  12. 31 Jan, 2011 1 commit
  13. 08 Nov, 2010 1 commit
  14. 14 Jul, 2010 1 commit
  15. 07 Jul, 2010 1 commit
  16. 01 Apr, 2010 1 commit
  17. 21 Feb, 2010 2 commits
  18. 22 Jan, 2010 1 commit
  19. 17 Jan, 2010 1 commit
  20. 03 Aug, 2009 1 commit
  21. 03 Jun, 2009 2 commits
  22. 02 Jun, 2009 1 commit
  23. 13 Feb, 2009 2 commits
  24. 12 Feb, 2009 1 commit
  25. 31 Jan, 2009 1 commit
  26. 09 Dec, 2008 1 commit
  27. 06 Dec, 2008 1 commit
  28. 17 Nov, 2008 1 commit
  29. 22 Oct, 2008 1 commit
  30. 25 Aug, 2008 1 commit
  31. 28 Jul, 2008 1 commit
    • OTB Bot's avatar
      Suppression des l'appel a · b3ea84d6
      OTB Bot authored
      INCLUDE_DIRECTORIES("${OTBTesting_BINARY}") : car variable non defini et sort en erreur avec cmake 2.6.0.
      b3ea84d6
  32. 09 Jun, 2008 1 commit
    • Thomas Feuvrier's avatar
      Corrections : · 995183da
      Thomas Feuvrier authored
      - MAJ 2.2.1
      - Find OpenGL : correction pour trouver GLU.h. O nutilise OPENGL_GLU_FOUND
      - séparation des Testing : BUIL_TESTING et BUILD_EXAMPLES_TESTING. BUT:  offrir la possibilités aux utilisateurs de tester les exemples de l'OTB (san spour autant compile rle sTesting qu'il ne peuvent aussi bien pas téster car il n'ont pas OTB-Data.
      995183da
  33. 02 Jun, 2008 1 commit
  34. 13 Dec, 2007 1 commit