1. 10 Jan, 2019 4 commits
  2. 02 Jan, 2019 1 commit
  3. 01 Jun, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · d7204e64
      Kitware Robot authored
      Run the `clang-format.bash` script to update all our C and C++ code to a
      new style defined by `.clang-format`.  Use `clang-format` version 6.0.
      
      * 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.
      d7204e64
  4. 15 Dec, 2017 1 commit
  5. 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
  6. 26 Aug, 2017 1 commit
  7. 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
  8. 15 Feb, 2017 1 commit
    • Brad King's avatar
      VS: Refactor generator toolset parsing · f773933f
      Brad King authored
      We parse `CMAKE_GENERATOR_TOOLSET` values of the forms:
      
      * `toolset`
      * `toolset,host=x64`
      * `host=x64`
      
      Generalize the parsing to support the forms:
      
      * `toolset`
      * `toolset[,key=value]*`
      * `key=value[,key=value]*`
      
      Disallow duplicate keys.  Require all but the first field to
      be of `key=value` form.
      f773933f
  9. 28 Nov, 2016 1 commit
  10. 14 Oct, 2016 1 commit
    • Brad King's avatar
      VS: Provide an option to use x64 host tools · d079e71c
      Brad King authored
      Visual Studio provides toolchains that are themselves built for 32-bit
      or 64-bit host architectures.  By default it uses the 32-bit tools, but
      it can be told to prefer the 64-bit tools on 64-bit hosts.  Extend the
      `CMAKE_GENERATOR_TOOLSET` specification to provide a way to request
      use of the 64-bit host tools.
      
      Closes: #15622
      d079e71c
  11. 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
  12. 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
  13. 02 Sep, 2015 1 commit
  14. 27 May, 2015 1 commit
  15. 19 May, 2015 1 commit
  16. 28 Apr, 2015 1 commit
  17. 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
  18. 14 Nov, 2014 1 commit
    • Gilles Khouzam's avatar
      VS: Improve error messages when compiler is not detected (#15228) · b20a32ac
      Gilles Khouzam authored
      CMake requires both the Desktop SDK and the correct platform SDK
      (Windows Phone or Windows Store) to be installed when targeting the
      Windows mobile platforms.  Verify that the right platform components are
      installed and give a more detailed error message when something is
      wrong.
      b20a32ac
  19. 31 Jul, 2014 1 commit
  20. 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
  21. 08 Mar, 2014 1 commit
  22. 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
  23. 26 Aug, 2013 1 commit
  24. 05 Aug, 2013 2 commits
    • Patrick Gansterer's avatar
      VS12: Remove duplicated overload of UseFolderProperty() · 40a43024
      Patrick Gansterer authored
      cmGlobalVisualStudio11Generator generator already defines the same
      function body, which makes the additional overload useless.
      40a43024
    • 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
  25. 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: default avatarMinmin Gong <minmin.gong@gmail.com>
      77ac9b8b
  26. 03 Dec, 2012 1 commit
  27. 19 Nov, 2012 3 commits
  28. 22 Aug, 2012 1 commit
  29. 14 Nov, 2011 1 commit
    • Brad King's avatar
      Enumerate VS11 version explicitly in local generators · c92ffece
      Brad King authored
      Since the parent commit the local generator Version ivar may be
      compared for ordering.  Convert comparisons:
      
        "==VS10" becomes ">=VS10"
        "!=VS10" becomes "< VS10"
      
      to support an explicit enumeration value for VS11 with no change
      in behavior.
      c92ffece
  30. 23 Sep, 2011 1 commit
  31. 20 Jun, 2011 2 commits
  32. 01 Dec, 2010 1 commit
    • Brad King's avatar
      Enable 64-bit tools with VS 2010 Express (#9981, #10722) · fb97ba62
      Brad King authored
      The Express Edition does not come with 64-bit tools, but one can install
      the "Microsoft Windows SDK v7.1" to get them.  Detect this case and
      check for the SDK.  If found, set PlatformToolset to use the SDK tools.
      Otherwise, fail with a concise and informative error.
      fb97ba62
  33. 24 Aug, 2010 1 commit