1. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
  2. 03 Dec, 2015 1 commit
    • James Johnston's avatar
      Embarcadero: Check code using CMAKE_CXX_COMPILER_ID and CMAKE_C_COMPILER_ID. · 060442c2
      James Johnston authored
      The CMAKE_CXX_COMPILER_ID and CMAKE_C_COMPILER_ID variables are set to
      "Borland" for older versions of the compiler.  Newer CodeGear/Embarcadero
      compilers will have those variables set to "Embarcadero".  Search for lines of
      code referencing both the variable name and Borland to be sure that they also
      refer to Embarcadero.
  3. 12 Aug, 2014 1 commit
    • Brad King's avatar
      Makefile: Handle '#' in COMPILE_OPTIONS (#15070) · fbf7a929
      Brad King authored
      Teach the Makefile generators to escape '#' characters on the right hand
      side of variable assignments in flags.make.  This is needed for flags
      like '-Wno-error=#warnings'.  Otherwise the make tool treats them as
      comments and leaves them out of the _FLAGS variable value.
      Add a case to the CompileOptions test covering '#' in a COMPILE_OPTIONS
      value, at least on compilers where it is known to be supported.
  4. 28 Jun, 2013 1 commit
  5. 27 Jun, 2013 1 commit
    • Brad King's avatar
      Escape target flags taken from COMPILE_OPTIONS · b6385cab
      Brad King authored
      Factor appending of individual flags out into an AppendFlagEscape method
      in cmLocalGenerator and teach it to use EscapeForShell.  Update all
      COMPILE_OPTIONS handling to use AppendFlagEscape.
      Override the method in the Xcode generator to use its custom escape
      Teach the CompileOptions test to add an option that requires escaping
      everywhere instead of just with the GNU tools.
  6. 02 Jun, 2013 1 commit