1. 11 Jan, 2019 3 commits
  2. 10 Jan, 2019 4 commits
  3. 02 Jan, 2019 1 commit
  4. 17 Sep, 2018 1 commit
  5. 24 Jun, 2018 1 commit
    • Basil Fierz's avatar
      VS: Allow toolset version selection to specify default toolset · 3c4698da
      Basil Fierz authored
      Teach the feature added by commit v3.12.0-rc1~38^2 (VS: Add option to
      select the version of the toolset used by VS 2017, 2018-05-19) to accept
      the default toolset version in addition to older versions.  If the
      default toolset version is supplied, simply clear it so the default will
      be used.
      
      Fixes: #18107
      3c4698da
  6. 29 May, 2018 1 commit
  7. 15 Dec, 2017 1 commit
  8. 19 Oct, 2017 1 commit
    • Brad King's avatar
      VS: Select and save a VS 2017 instance persistently · 9ffb3538
      Brad King authored
      Visual Studio 2017 supports multiple instances installed on a single
      machine.  We use the Visual Studio Installer tool to enumerate instances
      and select one.  Once we select an instance for a given build tree, save
      the result in `CMAKE_GENERATOR_INSTANCE` so we can re-configure the tree
      with the same instance on future re-runs of CMake.
      
      Fixes: #17268
      9ffb3538
  9. 15 Sep, 2017 1 commit
    • Brad King's avatar
      Use C++11 override instead of CM_OVERRIDE · 0b33aee4
      Brad King authored
      We now require C++11 support including `override`.  Drop use of
      the old compatibility macro.  Convert references as follows:
      
          git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
            xargs sed -i 's/CM_OVERRIDE/override/g'
      0b33aee4
  10. 26 Aug, 2017 1 commit
  11. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
  12. 21 Feb, 2017 1 commit
  13. 16 Dec, 2016 1 commit
    • Iyyappa Murugandi's avatar
      VS: Use Visual Studio Installer to locate VS 2017 · c93e85d8
      Iyyappa Murugandi authored
      VS 2017 and later may no longer populate the Windows Registry entries
      CMake has traditionally used to find the VS installations.  This is
      because VS now supports having multiple installations of the same
      version.  The Visual Studio Installer tool provides a COM interface we
      can query to locate installations.
      c93e85d8
  14. 28 Nov, 2016 1 commit
  15. 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 links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
      86578ecc
  16. 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
  17. 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
  18. 21 Jan, 2016 1 commit
    • Brad King's avatar
      VS: Do not fail on Windows 10 with VS 2015 if no SDK is available (#15929) · d7e863c1
      Brad King authored
      Since commit v3.4.0-rc1~5^2~1 (VS: Add support for selecting the Windows
      10 SDK, 2015-09-30) the VS 2015 generator requires a Windows 10 SDK to
      be available when CMAKE_SYSTEM_VERSION specifies Windows 10 (e.g.  when
      building on a Windows 10 host).  Howewver, it is possible to install VS
      2015 without any Windows 10 SDK.  Instead of failing with an error
      message about the lack of a Windows 10 SDK, simply tolerate this case
      and use the default Windows 8.1 SDK.  Since building for Windows Store
      still requires the SDK, retain the diagnostic in that case.
      d7e863c1
  19. 02 Oct, 2015 2 commits
  20. 02 Sep, 2015 1 commit
  21. 27 May, 2015 1 commit
  22. 19 May, 2015 1 commit
  23. 28 Apr, 2015 1 commit
  24. 15 Apr, 2015 1 commit
    • Brad King's avatar
      VS: Drop reload macros for VS >= 10 (#11258,#14680) · 885ab9ab
      Brad King authored
      We never implemented them for VS 11 (2012), 12 (2013), or 14 (2015).
      For VS 10 (2010) the reload macro does not work correctly when run from
      inside a build launched through the IDE because stopping the build kills
      the CMake that is driving the reload.  Fortunately VS >= 10 know how to
      reload the whole solution anyway.
      885ab9ab
  25. 17 Jul, 2014 1 commit
    • Brad King's avatar
      VS: Refactor CMAKE_FORCE_*64 platform definitions · eeb60102
      Brad King authored
      Remove the general infrastructure for these additional platform
      definitions and hard-code the only two special cases that used
      it.  They are only for historical reasons so no new such cases
      should be added.
      eeb60102
  26. 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
  27. 08 Mar, 2014 1 commit
  28. 28 Oct, 2013 1 commit
    • Brad King's avatar
      VS: Add version year to generator names · 29071fed
      Brad King authored
      Rename the Visual Studio >= 10 generators to indicate the version year:
      
       Visual Studio 10 => Visual Studio 10 2010
       Visual Studio 11 => Visual Studio 11 2012
       Visual Studio 12 => Visual Stduio 12 2013
      
      Report the names with the year to the list of available generators so
      that the cmake-gui drop-down shows the years.  When selecting a
      generator from the "-G" option or from an existing CMAKE_GENERATOR cache
      entry, recognize names without the years for compatibility and map them
      to the names with years.
      
      Update the generator names in the cmake-generators.7 manual.
      29071fed
  29. 07 Aug, 2013 1 commit
  30. 05 Aug, 2013 1 commit
    • Patrick Gansterer's avatar
      VS: Replace ArchitectureId with PlatformName · b02f09d4
      Patrick Gansterer authored
      Since we do not need the information about the target architecture
      we can use the PlatformName only to specify the this information.
      This also removes setting of the MSVC_*_ARCHITECTURE_ID variable
      which is not required, because this variable gets set by the
      compiler detection code in CMAKE_DETERMINE_COMPILER_ID_CHECK().
      b02f09d4
  31. 03 Dec, 2012 1 commit
  32. 19 Nov, 2012 3 commits