1. 11 Jan, 2019 1 commit
    • Brad King's avatar
      VS: Add Visual Studio 16 2019 generator · 57e48f16
      Brad King authored
      Add this generator *without* support for specifying the target
      architecture in the generator name.  cmake-gui will be taught
      to provide a field for this, and command-line builds can use -A.
      
      Also, teach this generator to select a default target architecture
      based on the host architecture.
      
      Fixes: #18689Inspired-by: Egor Pugin's avatarEgor Pugin <egor.pugin@gmail.com>
      57e48f16
  2. 07 Sep, 2016 1 commit
    • Brad King's avatar
      VS15: Add Visual Studio 15 generator · bdc679a8
      Brad King authored
      Call the generator "Visual Studio 15" without any year because the
      preview version of VS 15 does not provide a year in the product name.
      
      Copy cmGlobalVisualStudio14Generator to cmGlobalVisualStudio15Generator
      and update version numbers accordingly.  Add the VS15 enumeration value.
      Note that we do not need to add a MSVC15 variable or v150 toolset
      because Visual Studio 15 comes with an updated version of the v140
      toolset and remains ABI-compatible.
      
      Teach tests VSExternalInclude, RunCMake.GeneratorPlatform, and
      RunCMake.GeneratorToolset to treat VS 15 as they do VS 10-14.
      
      Closes: #16143
      bdc679a8
  3. 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.
      d9fd2f54
  4. 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
  5. 15 Sep, 2014 1 commit
  6. 10 Sep, 2014 1 commit
  7. 25 Jun, 2014 1 commit
    • Brad King's avatar
      VS14: Add Visual Studio 14 generator (#14982) · 65624c39
      Brad King authored
      Call the generator "Visual Studio 14" without any year because this
      version of VS does not provide a year in the product name.
      
      Copy cmGlobalVisualStudio12Generator to cmGlobalVisualStudio14Generator
      and update version numbers accordingly.  Add the VS14 enumeration value.
      Teach the platform module Windows-MSVC to set MSVC14 and document the
      variable.  Teach module InstallRequiredSystemLibraries to look for the VS
      14 runtime libraries.
      
      Teach tests CheckCompilerRelatedVariables, VSExternalInclude, and
      RunCMake.GeneratorToolset to treat VS 14 as they do VS 10, 11, and 12.
      
      Co-Author: Pawel Stopinski <diokhan@go2.pl>
      65624c39
  8. 28 Jun, 2013 1 commit
    • Brad King's avatar
      VS12: Add Visual Studio 12 generator (#14251) · 77ac9b8b
      Brad King authored
      Copy cmGlobalVisualStudio11Generator to cmGlobalVisualStudio12Generator
      and update version numbers accordingly.  Add the VS12 enumeration value.
      Add module CMakeVS12FindMake to find MSBuild.  Look for MSBuild in its
      now-dedicated Windows Registry entry.  Teach the platform module
      Windows-MSVC to set MSVC12 and document the variable.  Teach module
      InstallRequiredSystemLibraries to look for the VS 12 runtime libraries.
      
      Teach tests CheckCompilerRelatedVariables, Preprocess, VSExternalInclude,
      and RunCMake.GeneratorToolset to treat VS 12 as they do VS 10 and 11.
      Inspired-by: 's avatarMinmin Gong <minmin.gong@gmail.com>
      77ac9b8b
  9. 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
  10. 16 Jan, 2013 1 commit
    • Brad King's avatar
      VS11: Fix VSExternalInclude test · bc65b74f
      Brad King authored
      Set CMAKE_SUPPRESS_REGENERATION in the Lib1 and Lib2 projects so that
      their .vcxproj files do not contain references to ZERO_CHECK.  Such
      references do not make sense when using the files in another .sln file.
      This does not reduce the effectiveness of the test because real projects
      that use include_external_msproject will have their own .vcxproj files not
      generated by CMake anyway.
      bc65b74f
  11. 13 Aug, 2012 3 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
      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
  12. 23 Sep, 2011 1 commit
    • Brad King's avatar
      Teach our tests about special cases for VS 11 · 3b5256e1
      Brad King authored
      Teach the CheckCompilerRelatedVariables test to verify MSVC11.  Update
      the special cases already in the Preprocess and VSExternalInclude tests
      for VS 10 to work for VS 11 too.
      3b5256e1
  13. 10 Nov, 2010 1 commit
  14. 14 Jul, 2009 1 commit
  15. 13 Jul, 2009 1 commit
  16. 25 Mar, 2008 1 commit
  17. 16 Sep, 2004 1 commit
  18. 15 Sep, 2004 1 commit
  19. 14 Sep, 2004 3 commits