1. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      
      Run the following shell code:
      
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      77543bde
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      
      Run the following shell code:
      
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
      7bbaa428
  2. 30 Apr, 2012 1 commit
    • Brad King's avatar
      Test NO_SONAME property (#13155) · fdb3f878
      Brad King authored
      Teach the Plugin test to check that the NO_SONAME target property works
      as documented.  Check that the IMPORTED targets are written with the
      correct properties.  When readelf is available use it to check the
      actual binary files for SONAME fields.
      fdb3f878
  3. 08 Jul, 2009 1 commit
  4. 15 Jun, 2009 1 commit
    • Brad King's avatar
      BUG: Create an exe's implib output dir for VS · f4b3bdc6
      Brad King authored
      If an executable marks symbols with __declspec(dllexport) then VS
      creates an import library for it.  However, it forgets to create the
      directory that will contain the import library if it is different from
      the location of the executable.  We work around this VS bug by creating
      a pre-build event on the executable target to make the directory.
      f4b3bdc6
  5. 25 Mar, 2008 1 commit
  6. 10 Sep, 2007 1 commit
  7. 19 Apr, 2007 1 commit
  8. 17 Apr, 2007 4 commits