1. 15 Oct, 2013 4 commits
    • Brad King's avatar
      Rename Docs to Auxiliary · b601e235
      Brad King authored
      The directory contains auxiliary support files for integration with
      other tools, not documentation.
    • Brad King's avatar
      Cleanup use of CMake version in install destinations · c9a5f34b
      Brad King authored
      Factor the CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR selection
      out of CMakeLists.txt and into a Source/CMakeInstallDestinations.cmake
      script.  Load the script from the original location of the code.
      Cache the destination values as empty strings so we know if the user
      sets them explicitly.  If not, then compute defaults based on the
      platform and full CMake version string.  By not caching the versioned
      defaults, we can change them in a single build tree as the version
      Remove duplication of the install destination defaults from the
      bootstrap script.  Cache empty defaults there too.  Parse from the CMake
      code the default values to report in the help output.  Keep the CMake
      code in a structured format to make this reliable.
    • Brad King's avatar
      Factor CMake version logic into dedicated module · c72f8513
      Brad King authored
      Move logic to compute CMake_VERSION out of the top-level CMakeLists.txt
      file to a dedicated Source/CMakeVersionCompute.cmake module and include
      it from the original location.  This will allow it to be re-used.
    • Stephen Kelly's avatar
      Require CMake 2.8.4 or greater to build CMake · 920ffbf5
      Stephen Kelly authored
      This allows the use of the $<TARGET_FILE:...> generator expression as a
      replacement for the use of the LOCATION target property.  The use of the
      LOCATION target property is now deprecated for in-build targets.
      Also drop other checks for older CMake versions:
      * Simplify cmake_set_target_folder macro.
      * Use find_package(LibArchive) unconditionally.
      * Simplify condition for running testVisualStudioSlnParser test.
      * Convert two macros to functions.
      * Unconditionally run the CTestTestRerunFailed test.
  2. 08 Oct, 2013 1 commit
  3. 07 Oct, 2013 1 commit
    • Brad King's avatar
      Set policy CMP0025 to NEW while building CMake itself · 1763c31c
      Brad King authored
      CMake is aware of the policy's NEW behavior and the AppleClang compiler
      id.  Set the policy to NEW explicitly to avoid the warning and get the
      NEW behavior.
      Also teach the RunCMake test infrastructure to build tests with
      -DCMAKE_POLICY_DEFAULT_CMP0025=NEW to avoid the policy warning
      in test output that must match specific regular expressions.
  4. 26 Aug, 2013 1 commit
    • Brad King's avatar
      Clean up install rules of CMake itself (#14371) · df62f64d
      Brad King authored
      Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always
      relative paths in CMake code, and set defaults accordingly.  Use the
      install() command instead of install_files() and install_targets().
      This is more modern and also avoids stripping of the first character
      from user-specified destinations.
      While at it, fix the default destinations reported in the bootstrap
  5. 07 Aug, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-08-06 (deec6b8a) · ce6eac8b
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ deec6b8a | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' beef6819..deec6b8a
      Brad King (1):
            e39f85e0 SystemTools: Activate EnableMSVCDebugHook under CTest
      Burlen Loring (1):
            1d882d4c SystemInformation : Better stack trace
      Patrick Gansterer (2):
            89e42c36 SystemTools: Remove duplicate code for parsing Windows registry keys
            deec6b8a SystemTools: Add a function to get subkeys of a Windows registry key
      Sean McBride (1):
            4c4f8a9e Supress clang warnings about dynamic exception specifications
      Change-Id: I37367dc5db58818d5954735e00c6d523a1dd1411
  6. 26 Jul, 2013 1 commit
    • LibArchive Upstream's avatar
      libarchive 3.1.2 (reduced) · 35df7c8b
      LibArchive Upstream authored
      Extract upstream libarchive using the following shell code.
      url=git://github.com/libarchive/libarchive.git &&
      v=3.1.2 &&
      r=19f23e19 &&
      " &&
      mkdir libarchive-$v-g$r-reduced &&
      git clone $url libarchive-git &&
      date=$(cd libarchive-git && git log -n 1 --format='%cd' $r) &&
      (cd libarchive-git && git archive --format=tar $r -- $paths) |
      (cd libarchive-$v-g$r-reduced && tar xv) &&
      fromdos libarchive-$v-g$r-reduced/build/cmake/Find*.cmake &&
      echo "g$r date: $date"
  7. 03 Jun, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-05-31 (dccf7725) · d66f6f36
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ dccf7725 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 725e541e..dccf7725
      Brad King (2):
            e3370418 SystemTools: Use COMPILE_DEFINITIONS to pass platform tests
            dccf7725 SystemTools: Touch with better than 1s resolution if possible
      Change-Id: Icdbcdf405e27b2d5dd30857c7c8679ed5096f252
  8. 07 Feb, 2013 1 commit
    • Brad King's avatar
      Tests: Add generator toolset support · 56ca8d4e
      Brad King authored
      Propagate CMAKE_GENERATOR_TOOLSET through the test hierarchy so that all
      tests can build with the selected generator toolset, if any.
  9. 14 Jan, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-01-14 (6fa1c99f) · 4ba0ac7b
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ 6fa1c99f | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 608d6b47..6fa1c99f
      Brad King (1):
            84827cc1 Process: Avoid argv[0]==NULL from parsing empty command line
      Rolf Eike Beer (8):
            e041cd66 SystemInformation: factor out QueryMemoryBySysconf()
            ea850fa0 SystemInformation: factor out QueryProcessorBySysconf()
            57f06d49 SystemInformation: count processors with sysconf() on Solaris
            c6057a06 SystemInformation: fix "Multi-character character constant"
            5a27bd4f SystemInformation: make IsHyperThreadingSupported() return bool
            342c0ad2 SystemInformation: query memory size with sysconf() on Solaris
            f0b857c1 SystemInformation: cache result of IsHyperThreadingSupported()
            ab0c2a09 SystemInformation: try using assembler with BorlandC
      Change-Id: I072371ed35eed892a5ef62a9e9e6cad734e961d9
  10. 11 Jan, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-01-10 (608d6b47) · 6318834b
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ 608d6b47 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' fc60c8b8..608d6b47
      Rolf Eike Beer (6):
            297758a5 SystemInformation: fix conversion warning
            79ef34ef SystemInformation: fix calling kwsysProcess_WaitForData()
            f1068caf SystemInformation: speed up copying process data
            7dfc27d5 SystemInformation: check CPU vendor and SSE support on OpenBSD
            494d9d7a SystemInformation: get stepping code on Intel Macs
            608d6b47 SystemInformation: determine processor features on Intel Macs
      Change-Id: I7f5bc5b7af2bf7d4e5c1ee291c286add0f17a7d5
  11. 08 Jan, 2013 2 commits
    • Stephen Kelly's avatar
      Add the -Wundef flag when compiling CMake. · c7728106
      Stephen Kelly authored
    • Kitware Robot's avatar
      KWSys 2013-01-07 (fc60c8b8) · 495fa24d
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ fc60c8b8 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 8ce09af5..fc60c8b8
      Brad King (3):
            cb5f835f SystemTools: Fix MakeDirectory with colon in path
            1643507a IOStream: Fix check for compiler 'long long' support
            34177aec SystemTools: Fix MakeDirectory after recent cleanup
      Rolf Eike Beer (24):
            4da9894d SystemInformation: Clean up QuerySolarisInfo()
            01392358 SystemInformation: don't attribute i386 Solaris systems to Sun
            3db65ac1 SystemInformation: wrap the call to CPUID in a function
            61bd9b42 SystemInformation: use the __cpuid compiler intrinsic if present
            5932e7c0 SystemInformation: query memory size on Cygwin using sysconf()
            ea5612ed SystemInformation: count memory with _SC_PAGESIZE and _SC_PHYS_PAGES
            3aca6642 SystemInformation: query memory size, CPU count, and CPU speed on BSD
            3572c54d SystemInformation: count CPUs on HP-UX
            e6771b34 SystemInformation: determine CPU type on HP-UX
            640210e5 SystemInformation: use /proc/cpuinfo only when present
            5bdcfd10 SystemInformation: query total memory on AIX
            de69d547 SystemInformation: use intrinsic for RDTSC if supported
            9808d4e7 SystemInformation: get CPU speed on Windows when RDTSC fails
            f4c625b5 tests: avoid truncation of testSystemInformation output in CDash
            03d6fbe5 SystemInformation: get x86 CPU features from /proc/cpuinfo
            f8e917c1 SystemInformation: remove the #define CPUID_INSTRUCTION
            59c4b5c5 SystemInformation: split Windows code out of QueryMemory()
            200ee91f SystemInformation: split HP-UX code out of QueryMemory()
            88217703 SystemInformation: split Linux code out of QueryMemory()
            9e317872 SystemInformation: split AIX code out of QueryMemory()
            349cee5b SystemInformation: remove useless zeroing from QueryMemory()
            7271926e SystemInformation: split Cygwin code out of QueryMemory()
            6da78ad1 SystemInformation: make QueryMemory() return bool
            182179e9 Haiku no longer defines __BEOS__
      Stephen Kelly (1):
            247b8a3c SystemTools: Rename MakeCnidentifier() to MakeCidentifier()
      Change-Id: Ib95b5bddab7ecc0a4025ab29792426acf57e5623
  12. 19 Dec, 2012 2 commits
    • Brad King's avatar
      Remove references to KWSys Process Win9x support · 2c24ca92
      Brad King authored
      The KWSys "EncodeExecutable" and "ProcessFwd9x" executables were dropped
      from KWSys along with Win9x Process support.  Drop references from the
      rest of the CMake build rules.
    • Kitware Robot's avatar
      KWSys 2012-12-19 (933eb822) · a0f91f1d
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ 933eb822 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 3b17de34..933eb822
      Brad King (2):
            fea37696 Process: Remove support for Windows 98
            01e15c22 Remove KWSys Registry
      Rolf Eike Beer (7):
            f376ec32 SystemInformation: fix typos
            bfee5174 SystemInformation: sum up all caches found in /proc/cpuinfo
            5690d711 SystemInformation: fix value extraction from /proc/cpuinfo
            36295981 SystemInformation: PA-RISC chips are from HP
            72e9d02e SystemInformation: try harder to find a useful processor name
            b39de34c SystemInformation: try harder to find the CPU family
            933eb822 SystemInformation: extract CPU stepping information from /proc/cpuinfo, too
      Sean McBride (2):
            5e17bfde Process: Dereference NULL++ instead of NULL to force crash
            86a78cb7 SystemTools: Add check for empty strings to prevent integer underflow
      Change-Id: Id7194f434fe67be81e6ee9e96d705010a1171a06
  13. 13 Nov, 2012 1 commit
  14. 31 Oct, 2012 1 commit
    • Kitware Robot's avatar
      KWSys 2012-10-16 (b7a97ac3) · 7ae44db4
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ b7a97ac3 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' bab53989..b7a97ac3
      Brad King (3):
            f9db7eab SystemInformation: Fix helper definition order
            a1e83e42 SystemInformation: Expose helper functions only where needed
            b7a97ac3 SystemInformation: Drop unused LoadLines on OS X
      Burlen Loring (1):
            6072e63b SystemInformation: support for resource limits
      Sean McBride (2):
            a536d833 ProcessUNIX: Suppress warning about uninteresting return code
            00852081 SystemInformation: Fix sloppy use of sysctlbyname() API
      Change-Id: Iae8af129a021435ef4e6daef255e312c99d7b773
  15. 01 Oct, 2012 2 commits
    • Kitware Robot's avatar
      KWSys 2012-10-01 (bab53989) · 5d0de36d
      Kitware Robot authored
      Extract upstream KWSys using the following shell code.
      $ sha1=bab53989d7c4027259bff837574f75003396d59f &&
      git archive --prefix=KWSys-snapshot/ $sha1 |
      tar x
      $ git log 719638e2..bab53989 ^341043cf --no-merges --oneline --abbrev=8
      bab53989 Tell Git to check tab-in-indent and no-lf-at-eof
      8115bd1b SystemInformation: Pass extern "C" functions to sigaction
      4f4dd224 SystemInformation: Fix unused assignment warnings
      6b26d2fe SystemInformation: Use ifaddrs.h only where available
      381923ed SystemInformation: Use si_code constants only where available
      8f85338c SystemInformation: Use execinfo.h backtrace only where available
      a8e98f98 SystemInformation: Use Windows API more portably
      750b4b5c SystemInformation: Use long long or __int64 only where available
      8d2cafcd SystemInformation: Fix UNIX system includes for FQDN
      857bda17 SystemInformation: Report more information
      63cbea35 Add and configure developer setup helper scripts
      924466f5 SystemTools: Fix accidental bitwise instead of logical OR
      2f423229 SystemTools: Remove unused environ declaration
      a49c2417 Disable warnings about MS deprecation of C library
      e3390720 CTestConfig: Submit to dedicated KWSys dashboard
    • Kitware Robot's avatar
      KWSys 2012-05-02 (719638e2) · 7d3c2959
      Kitware Robot authored
      Extract upstream KWSys using the following shell code.
      $ sha1=719638e233b560afb0d9a0afdcf23469dc1827fe &&
      git archive --prefix=KWSys-snapshot/ $sha1 |
      tar x
  16. 15 Aug, 2012 1 commit
  17. 13 Aug, 2012 3 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      Run the following shell code:
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
    • 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/ \+$//'
  18. 26 Apr, 2012 1 commit
    • Brad King's avatar
      Require CMake 2.8.2 or higher to build CMake · d960de2f
      Brad King authored
      Update the requirement specified in the top-level CMakeLists.txt file.
      Drop the special-case minimum required version of 2.8.0 because the new
      minimum subsumes it.
      Revert commit 6c611c6b (libarchive: Restore CMake 2.6.3 as minimum
      version, 2012-01-05) since our requirement now subsumes libarchive's.
  19. 23 Apr, 2012 1 commit
  20. 20 Apr, 2012 1 commit
    • Brad King's avatar
      Refactor CMake version handling · 0c7029c6
      Brad King authored
      Move the CMake version number components out of "CMakeLists.txt" into
      dedicated file "Source/CMakeVersion.cmake".  Set the TWEAK level to the
      date explicitly.  Add a "Source/CMakeVersion.bash" script to update the
      date, thus replacing KWSys DateStamp for CMake.  Teach the bootstrap
      script to extract the version components from their new location.
  21. 18 Apr, 2012 2 commits
  22. 05 Apr, 2012 1 commit
  23. 22 Mar, 2012 1 commit
  24. 05 Jan, 2012 1 commit
    • LibArchive Upstream's avatar
      libarchive 3.0.2-r4051 (reduced) · 4f4fe6e5
      LibArchive Upstream authored
      Extract upstream libarchive using the following shell code.
      date=$(svn log -q -c$r $url |
             sed -n "/^r/ {s/[^|]*|[^|]*|//;p;}")
      svn export -r$r $url libarchive-$v-r$r &&
      mkdir libarchive-$v-r$r-reduced &&
      (cd libarchive-$v-r$r && tar c $paths) |
      (cd libarchive-$v-r$r-reduced && tar x)
      echo "r$r date: $date"
  25. 02 Jan, 2012 1 commit
  26. 30 Dec, 2011 2 commits
  27. 23 Dec, 2011 1 commit
    • Brad King's avatar
      Configure libarchive build within CMake · 504660ea
      Brad King authored
      Re-enable the option to build libarchive within CMake now that we have
      imported a new snapshot.  Force libarchive ENABLE_* cache options to the
      values CMake needs.  Set ENABLE_OPENSSL based on CMAKE_USE_OPENSSL to
      preserve the behavior introduced in commit ee55a4f7 (Use OpenSSL only if
      CMAKE_USE_OPENSSL, 2011-02-08).
  28. 21 Dec, 2011 1 commit
  29. 20 Dec, 2011 2 commits