1. 29 Dec, 2017 1 commit
  2. 15 Sep, 2014 1 commit
  3. 10 Sep, 2014 1 commit
  4. 03 Mar, 2014 1 commit
  5. 07 Feb, 2013 1 commit
    • Brad King's avatar
      Tests: Add generator toolset support · 56ca8d4e
      Brad King authored
      Propagate CMAKE_GENERATOR_TOOLSET through the test hierarchy so that all
      tests can build with the selected generator toolset, if any.
      56ca8d4e
  6. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot 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.
      
      Run the following shell code:
      
      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' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      9db31162
    • 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
  7. 20 Dec, 2011 1 commit
    • Bill Hoffman's avatar
      Fix the case where cmake --build failed with two project cmds in one file. · 5badf5f7
      Bill Hoffman authored
      This adds a test that uses two project commands in the same CMakeLists.txt
      file.  It also adds a fix so that cmake --build will work in that case.
      The fix sets the name of the last project command in the top level
      CMakeLists.txt in the cache variable CMAKE_PROJECT_NAME.  This variable
      is used by cmake --build to find the project name.
      5badf5f7
  8. 04 Mar, 2009 1 commit
    • Brad King's avatar
      ENH: Cleanup cmake --build interface. · 170febac
      Brad King authored
      This cleans up the 'cmake --build' command-line interface:
        - Rename --clean to --clean-first to better describe it.
        - Replace --extra-options with a -- separator to simplify passing of
          multiple native build tool options.
        - Document the options in the main CMake man page description of the
          --build option, and shares this with the usage message.
        - Require --build to be the first argument when present.
        - Move implementation into cmakemain where it belongs.
      170febac
  9. 18 Oct, 2008 1 commit
  10. 15 Oct, 2008 3 commits