1. 13 Jan, 2011 2 commits
    • David Cole's avatar
      Add CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS variable · fa4a3b04
      David Cole authored
      The parent commit added a warning message whenever a required file
      does not exist.
      
      As it turns out, the "required" files never exist when built with
      Visual Studio Express editions. Add a variable to suppress these
      warning messages because only packagers or naive includers of
      this file will care to see such warning messages.
      
      We want to warn about this condition by default so that people who
      are using InstallRequiredSystemLibraries without understanding it
      fully will have a chance of understanding why it's not working in
      the event of missing required files.
      
      But we also want to give projects the ability to suppress this warning
      (by "project's choice default") so that they can encourage users who
      are restricted to using an Express edition to build their project.
      
      Packagers should explicitly use...
      
        -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS=OFF
      
      ...when building releases. That way, their release build process will warn
      them about any missing files, but only if their project CMakeLists files
      use a construct similar to CMake's:
      
        IF(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS)
          SET(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
        ENDIF()
      fa4a3b04
    • David Cole's avatar
      VS10: Fix problems with InstallRequiredSystemLibraries. · fc144924
      David Cole authored
      Thanks to "J Decker" on the CMake mailing list for pointing out
      that one of the MSVC10_CRT_DIR settings was using "VC90" instead
      of "VC100".
      
      After fixing that, I added the code to generate a CMake warning
      if one of the files we think is "required" does not exist.
      
      Then, with VS10, there were several other problems that the
      warning revealed:
      
       - MSVC10_REDIST_DIR needed more PATHS to be found correctly
      
       - the 64-bit directory is named "x64" now, not "amd64" as in
         previous VS versions
      
       - manifest files no longer exist as separate files in the
         redist subdirectories (they must be built-in as resources
         to the dlls...?)
      fc144924
  2. 06 Jan, 2011 3 commits
    • Mike McQuaid's avatar
      InstallRequiredSystemLibraries debug-only (#11141) · 753b429e
      Mike McQuaid authored
      Add support to InstallRequiredSystemLibraries to only install
      debug libraries when both debug and release versions are available.
      
      This is as if you are building a debug package then only the debug
      versions are needed but not the release.
      753b429e
    • Mike McQuaid's avatar
      Add variable for InstallRequiredSystemLibraries dir (#11140) · 492cd84f
      Mike McQuaid authored
      InstallRequiredSystemLibraries currently defaults to installing to
      bin on WIN32 and lib otherwise. This patch allows you to configure
      this by using the variable CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION.
      
      It also switches the logic to use a single INSTALL(PROGRAMS) command
      rather than two deprecated uses of the INSTALL_PROGRAMS command.
      492cd84f
    • Mike McQuaid's avatar
      Fix incorrect variable documentation (#11127) · dd5c592c
      Mike McQuaid authored
      In InstallRequiredSystemLibraries the documentation details the
      variable CMAKE_SKIP_INSTALL_RULES to skip installation. This
      actually doesn't do anything, the variable required is named
      CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP. This commit amends the
      documentation to point to the correct variable.
      dd5c592c
  3. 09 Aug, 2010 1 commit
  4. 28 Jan, 2010 1 commit
  5. 17 Dec, 2009 1 commit
  6. 08 Dec, 2009 1 commit
  7. 01 Oct, 2009 1 commit
  8. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake non-find modules to BSD License · 3a666595
      Brad King authored
      This adds copyright/license notification blocks CMake's non-find
      modules.  Most of the modules had no notices at all.  Some had notices
      referring to the BSD license already.  This commit normalizes existing
      notices and adds missing notices.
      3a666595
  9. 13 Nov, 2008 1 commit
  10. 30 Jul, 2008 1 commit
  11. 03 Apr, 2008 1 commit
  12. 29 Feb, 2008 1 commit
  13. 09 Nov, 2007 1 commit
  14. 08 Nov, 2007 1 commit
  15. 21 Sep, 2007 1 commit
  16. 17 Sep, 2007 1 commit
  17. 20 Feb, 2007 1 commit
  18. 07 Feb, 2007 1 commit
  19. 17 Aug, 2006 1 commit
  20. 10 Apr, 2006 1 commit
  21. 21 Mar, 2006 1 commit
  22. 01 Mar, 2006 1 commit