1. 26 Nov, 2020 1 commit
  2. 11 Nov, 2020 1 commit
  3. 05 Nov, 2020 1 commit
  4. 22 Oct, 2020 1 commit
  5. 14 Jan, 2020 1 commit
  6. 10 Dec, 2019 1 commit
  7. 09 Apr, 2019 1 commit
  8. 16 Jan, 2019 2 commits
  9. 28 Nov, 2018 1 commit
  10. 20 Nov, 2018 1 commit
  11. 02 Apr, 2018 1 commit
  12. 03 Nov, 2017 1 commit
    • luzpaz's avatar
      Fix trivial typos in text · 777e87ae
      luzpaz authored and Brad King's avatar Brad King committed
      Some are user facing.
      
      Found using
      
          codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
      
      whereby the whitelist contained:
      
          ans
          dum
          helpfull
          emmited
          emmitted
          buil
          iff
          isnt
          nto
          ot
          pathes
          substract
          te
          todays
          upto
          whitespaces
      777e87ae
  13. 19 Apr, 2017 1 commit
  14. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and lin...
      86578ecc
  15. 20 Jun, 2016 1 commit
  16. 09 Mar, 2016 1 commit
    • Brad King's avatar
      Drop Visual Studio 6 generator · b42866a3
      Brad King authored
      This generator has been deprecated since CMake 3.3.  Remove it.
      Update documentation, modules, and tests to drop content specific
      to this generator.
      b42866a3
  17. 28 Apr, 2015 3 commits
  18. 18 Nov, 2013 1 commit
    • Brad King's avatar
      Prefer CMAKE_MAKE_PROGRAM over CMAKE_BUILD_TOOL (#14548) · 4ac75fdf
      Brad King authored
      Historically these were both added for the Makefile and Visual Studio
      generators, respectively.  Later the VS generators started using the
      CMAKE_MAKE_PROGRAM cache entry to find the IDE build tool, and the
      CMAKE_BUILD_TOOL was simply set as an alias.
      
      Fix the documentation to explain that CMAKE_MAKE_PROGRAM is the modern
      variable and that CMAKE_BUILD_TOOL is the compatibility alias, not the
      other way around.  Replace uses of CMAKE_BUILD_TOOL with
      CMAKE_MAKE_PROGRAM in CMake-provided modules.  Nothing needs to lookup
      CMAKE_BUILD_TOOL in the cache, so simply set it as a normal variable.
      4ac75fdf
  19. 26 Oct, 2013 1 commit
    • Pedro Navarro's avatar
      ctest_update: Add support for Perforce p4 client · 970c8234
      Pedro Navarro authored and Brad King's avatar Brad King committed
      Teach the ctest_update implementation to use the p4 command-line
      client to perform updates and extract the list of changes.
      
      Add a CTest.UpdateP4 test like those that exist already for the other
      version control tools.  Make the test available when p4 and the p4d
      server are found.  During the test launch p4d in the background to
      serve a repository from the test directory.  Then direct the client
      toward this server for the duration of the test.
      970c8234
  20. 15 Oct, 2013 1 commit
  21. 02 Jun, 2013 1 commit
  22. 16 Oct, 2012 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setup · d63eb0be
      Jean-Christophe Fillion-Robin authored
      When building a project relying on External projects, the launchers were
      not used in subprojects built without testing enabled. This was preventing
      errors and warnings associated with these subprojects from being
      reported on the dashboard.
      
      This commit allows enabling the launchers independently of the value of
      "BUILD_TESTING" using one of these two approaches:
      
      1) By setting both CTEST_USE_LAUNCHERS and the env variable
      "CTEST_USE_LAUNCHERS_DEFAULT" to 1 in the ctest dashboard driver scripts.
      
      2) By enabling the variable CTEST_USE_LAUNCHERS in the ctest dashboard
      driver script and also by ensuring every external project passes the option
      -DCMAKE_PROJECT_<projectname>_INCLUDE:FILEPATH=${CMAKE_ROOT}/Modules/CTestUseLaunchers.cmake
      d63eb0be
  23. 13 Aug, 2012 3 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored and Brad King's avatar Brad King committed
      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
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored and Brad King's avatar Brad King committed
      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 and Brad King's avatar Brad King committed
      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
  24. 22 Oct, 2011 1 commit
    • David Cole's avatar
      CTest: Add COVERAGE_EXTRA_FLAGS cache variable (#12490) · 2f309cba
      David Cole authored
      COVERAGE_EXTRA_FLAGS is a space separated value of extra flags
      that will be passed to gcov when ctest's coverage handler invokes
      gcov to do coverage analysis.
      
      Map to CoverageExtraFlags in the CTest ini file. Use default value
      of "-l" to match the coverage handler's earlier behavior from ctest
      2.8.4 and earlier. The fix for related issue #11717 had added a " -p"
      which was the cause of both #12415 and #12490. Here, we revert that
      change to the default value, so -p is no longer there by default.
      The people that care to add -p may do so in their own build trees
      by appending " -p" to the new cache variable COVERAGE_EXTRA_FLAGS.
      2f309cba
  25. 28 Jan, 2011 1 commit
  26. 21 Sep, 2010 1 commit
    • David Cole's avatar
      Honor MAKECOMMAND value saved in cache (#11026) · 4a323bde
      David Cole authored
      Use a separate variable to pass to the BUILD_COMMAND call
      and then use set(CACHE) to transfer that to MAKECOMMAND.
      That way, if MAKECOMMAND is in the cache already, it is
      left untouched. Fixes regression introduced in commit
      0b38bb4c with the fix for bug #2336.
      
      Thanks to Evgeniy P for the patch.
      4a323bde
  27. 09 Aug, 2010 1 commit
  28. 03 Jun, 2010 1 commit
  29. 11 Feb, 2010 1 commit
  30. 10 Feb, 2010 3 commits
    • Brad King's avatar
      Do not warn for unknown CTest UPDATE_TYPE · c4205773
      Brad King authored
      In the CTest module we previously warned if the source directory did not
      contain known version control directories.  The message was:
      
        "CTest cannot determine repository type. Please set UPDATE_TYPE
         to 'cvs' or 'svn'. CTest update will not work."
      
      This was confusing when building sources from a tarball.  Furthermore,
      we now support many more version control tools.  This feature is now
      mature enough that the warning causes confusion more than it provides
      real help.  We simply remove it.
      c4205773
    • Brad King's avatar
      Detect Git repositories for CTest UPDATE_TYPE · e18f3623
      Brad King authored
      The CTest module configures the command-line CTest dashboard mode.
      We teach it to recognize .git directories.
      e18f3623
    • Brad King's avatar
      Simplify CTest.cmake module with ELSEIF · ff101a56
      Brad King authored
      We use ELSEIF to simplify the cascading IF blocks for detecting version
      control tools.
      ff101a56
  31. 28 Jan, 2010 1 commit
  32. 04 Dec, 2009 2 commits
    • Brad King's avatar
      Document usage of the include(CTest) module · 700da5f2
      Brad King authored
      Previously this module gave only very brief documentation.  We extend
      the module's documentation to describe CTestConfig.cmake, interaction
      with dashboard scripts, and the CTEST_USE_LAUNCHERS option.
      700da5f2
    • David Cole's avatar
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of... · 0b38bb4c
      David Cole authored
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
      0b38bb4c