1. 09 Jun, 2014 1 commit
  2. 04 Jun, 2014 1 commit
    • Brad King's avatar
      VS: Split user- and generator-provided PlatformToolset · 98afb454
      Brad King authored
      Divide the cmGlobalVisualStudio10Generator "PlatformToolset" member into
      two members representing the generator-selected default toolset and the
      user-specified CMAKE_GENERATOR_TOOLSET value.  Prefer the user-specified
      value, if any, and then fall back to the generator-selected default.
      98afb454
  3. 08 Mar, 2014 1 commit
  4. 21 Nov, 2013 1 commit
  5. 18 Nov, 2013 1 commit
    • Brad King's avatar
      VS: Switch to internal CMAKE_MAKE_PROGRAM lookup by generators · 558c74d0
      Brad King authored
      Drop the "Modules/CMakeVS*FindMake.cmake" files.  Override the
      cmGlobalGenerator::FindMakeProgram method for VS generators to use their
      internal APIs to locate the build tool.  Set the CMAKE_MAKE_PROGRAM as a
      normal variable for use by project code, but do not cache it.  This will
      allow CMake and CTest to select the proper tool at build time.
      558c74d0
  6. 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
  7. 16 Oct, 2013 1 commit
  8. 05 Aug, 2013 3 commits
  9. 02 Jul, 2013 1 commit
  10. 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
  11. 25 Mar, 2013 1 commit
    • Brad King's avatar
      VS: Fix VS 10/11 .sln headers (#14038) · c677838c
      Brad King authored
      The VS version we generate in the .sln header is used by VS when opening
      the file through Windows Explorer and possibly elsewhere.  Fix our
      generators to use version strings known to VS to avoid a drop-down box.
      
      For VS 10, since commit 4f96af44 (Fix VS 10 .sln files for Windows
      Explorer, 2009-10-22) we use "Visual Studio 2010" instead of just
      "Visual Studio 10".  This is correct except that for the Express edition
      we need "Visual C++ Express 2010".
      
      For VS 11, since commit f0d66ab4 (VS11: Fix comment generated at the top
      of *.sln files, 2011-10-20) we use "Visual Studio 11" in the .sln header
      but the preferred value is "Visual Studio 2012" (just as the first
      commit mentioned above fixed for VS 10).  Also for the Express edition
      we need "Visual Studio Express 2012 for Windows Desktop".
      c677838c
  12. 03 Dec, 2012 1 commit
  13. 19 Nov, 2012 2 commits
  14. 18 Sep, 2012 1 commit
    • Brad King's avatar
      VS11: Add VS 2012 Express support (#13348) · 7ee3cee9
      Brad King authored
      Use the registry entries that vsvars32.bat uses to detect the location of
      MSBuild.exe in the framework directory.  Invoke MSBuild with the option
      
       /p:VisualStudioVersion=$version
      
      so it knows from which VS version to load the system build rules.  Teach
      cmGlobalVisualStudio11Generator to set its ExpressEdition member using the
      registry.
      7ee3cee9
  15. 30 Aug, 2012 1 commit
    • Brad King's avatar
      VS: Simplify MSVC version reporting · 485a940e
      Brad King authored
      Teach Windows-cl.cmake to use CMAKE_(C|CXX)_COMPILER_VERSION to set the
      "MSVC##" and MSVC_VERSION variables.  It no longer needs the IDE generator
      to dictate the version or to detect the version by running the
      command-line tool for NMake and Ninja generators.  Drop configuration of
      CMakeCPlatform.cmake and CMakeCXXPlatform.cmake from Windows-cl.cmake.in
      because all the results it saved are now cheap to compute every time.
      485a940e
  16. 22 Aug, 2012 1 commit
  17. 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
  18. 20 Oct, 2011 1 commit
  19. 23 Sep, 2011 1 commit
  20. 20 Jun, 2011 2 commits
  21. 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
  22. 24 Aug, 2010 1 commit
  23. 28 Jan, 2010 1 commit
  24. 23 Nov, 2009 1 commit
  25. 20 Nov, 2009 1 commit
  26. 28 Oct, 2009 1 commit
  27. 01 Oct, 2009 1 commit
  28. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
      96afb120
  29. 23 Sep, 2009 1 commit
    • Alexander Neundorf's avatar
      Major optimization of C/C++ dependency scanning. · 39383ef8
      Alexander Neundorf authored
      Now only the dependencies for the file where the dependencies actually may
      have changed are rescanned, before that this was done for all source files
      even if only one source file had changed.
      This reduces e.g. on my machine the time for scanning the dependencies
      of kdelibs/khtml/ when only one file (khtml_global.cpp) has changed from
      around 7.5 seconds to 1.2 seconds.
      
      The tests succeed, it does what I expected it to do on kdelibs, and Brad
      also reviewed the patch, so I think it should be ok.
      
      Alex
      39383ef8
  30. 12 Oct, 2005 1 commit
  31. 27 Jul, 2005 2 commits
  32. 11 May, 2005 1 commit
  33. 06 May, 2005 1 commit
  34. 01 Mar, 2005 2 commits