1. 13 Aug, 2012 1 commit
    • 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
  2. 13 Jan, 2011 2 commits
    • David Cole's avatar
      Add CPACK_NSIS_INSTALL_ROOT for CMake's own installer (#9148) · 96cd1638
      David Cole authored
      Problem with CMake 2.8.4-rc1: when you launch the NSIS exe installer
      on Windows, the default install path shown to the end user is, at first,
      "\CMake 2.8".
      
      This problem started occurring when configuring CMake itself with an
      older CMake, after adding CPACK_NSIS_INSTALL_ROOT to fix issue 9148.
      So... it's a regression from 2.8.3.
      
      I forgot (again) that when you add a new CPack variable, you must
      add it to CMake's CMakeCPack.cmake file or else it is empty when
      configured with an older CMake. And on Windows, without a bootstrap
      build available, the releases are always configured with an older
      version of CMake. This may be the last time this has bitten me,
      though, because it is now burned into my brain that problems with
      CMake's installer itself are inevitably associated with adding new
      CPack variables.
      
      In addition to adding a definition for CPACK_NSIS_INSTALL_ROOT,
      I've gone ahead and made it differ for the 32- and 64-bit builds
      of CMake to give ...
      96cd1638
    • 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
  3. 09 Jun, 2010 1 commit
    • Brad King's avatar
      Fix CMake data and doc paths in Cygwin package · 6ba45fa9
      Brad King authored
      Override CMAKE_DOC_DIR and CMAKE_DATA_DIR cache entries on Cygwin early
      enough so the new values are used everywhere.  Previously only some of
      the uses were overridden.  Also set CPACK_PACKAGE_VERSION to the whole
      CMake_VERSION so that the Cygwin MANIFEST file goes in the proper path.
      6ba45fa9
  4. 04 May, 2010 1 commit
  5. 01 Oct, 2009 1 commit
  6. 28 Sep, 2009 2 commits
  7. 05 Mar, 2009 1 commit
    • Brad King's avatar
      ENH: Overhaul CMake version numbering · 98c51ff6
      Brad King authored
      This moves the version numbers into an isolated configured header so
      that not all of CMake needs to rebuild when the version changes.
      
      Previously we had spaces, dashes and/or the word 'patch' randomly chosen
      before the patch number.  Now we always report version numbers in the
      traditional format "<major>.<minor>.<patch>[-rc<rc>]".
      
      We still use odd minor numbers for development versions.  Now we also
      use the CCYYMMDD date as the patch number of development versions, thus
      allowing tests for exact CMake versions.
      98c51ff6
  8. 23 May, 2008 1 commit
  9. 20 May, 2008 1 commit
  10. 09 Feb, 2008 1 commit
  11. 07 Nov, 2007 1 commit
  12. 31 Oct, 2007 1 commit
  13. 30 Oct, 2007 2 commits
  14. 29 Oct, 2007 1 commit
  15. 18 Oct, 2007 1 commit
  16. 18 Sep, 2007 1 commit
  17. 07 Sep, 2007 1 commit
  18. 27 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · d6a0c330
      Alexander Neundorf authored
      ENH: deb generator can now generate deb packages
      -remove the unscriptable commands also from the cpack cmake
      -use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
      the deb generator
      -make set_properties() scriptable
      -use a non-const char array for adding the python modules
      
      Alex
      d6a0c330
  19. 10 May, 2007 1 commit