1. 15 Sep, 2015 1 commit
    • Raphael Kubo da Costa's avatar
      Avoid using C11 to build CMake if _Thread_local support is broken · ffa6f057
      Raphael Kubo da Costa authored and Brad King's avatar Brad King committed
      Support for C11's _Thread_local was introduced in GCC in the 4.9 series,
      even though we make the C11 compiler flags available in CMake with GCC
      >= 4.6.
      
      FreeBSD's runetype.h uses _Thread_local, which causes CMake's own build
      to fail when using GCC < 4.9 and -std=gnu11:
      
        /usr/include/runetype.h:92:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
         extern _Thread_local const _RuneLocale *_ThreadRuneLocale;
      
      Add a test for _Thread_local support and only build CMake itself with
      C11 support if it works.
      
      Bug: http://www.cmake.org/Bug/view.php?id=15741
      ffa6f057
  2. 02 Sep, 2015 1 commit
    • Kitware Robot's avatar
      KWSys 2015-08-28 (dc3fdd7f) · 1b79433a
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ dc3fdd7f | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' cdaf522c..dc3fdd7f
      Brad King (9):
            15a16826 Remove include <kwsys/ios/*> and kwsys_ios:: compatibility layer
            a5799c17 Remove unused KWSYS_IOS_USE_{SSTREAM,STRSTREAM_H,STRSTREA_H} checks
            198957cf Remove unused KWSYS_IOS_USE_SSTREAM check
            24d2b60e Remove support for pre-C++98 streams
            2a581c30 Remove support for pre-C++98 std::string missing operators
            5f3fd465 Remove support for pre-C++98 STL
            cded1574 Remove support for pre-C++98 STL from hash_map and hash_set
            f130a3ab Remove kwsys/cstddef compatibility header
            dc3fdd7f Remove support for pre-C++98 template capabilities
      1b79433a
  3. 31 Aug, 2015 1 commit
    • Kitware Robot's avatar
      KWSys 2015-08-24 (cdaf522c) · ca96be22
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ cdaf522c | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' dad68c33..cdaf522c
      Brad King (2):
            c8e5d1b2 Pass C++ standard flags to SunPro in standalone build
            91cb7820 Remove unused source file "CMakeEmptyInputFile.in"
      
      James Johnston (6):
            0bca555e Process: Test running a process many times to discover resource leaks
            52788bb8 SystemTools:  Remove trailing whitespace.
            8122214c cmake: Set CMAKE_LEGACY_CYGWIN_WIN32 to 0.
            389d416b SystemTools:  Clarify/simplify behavior of FileExists
            8970cd56 SystemTools:  Added new TestFileAccess function.
            cdaf522c SystemTools:  Add honor_umask parameter to SetPermissions.
      
      Mattias Ellert (1):
            b9df3e48 Fix implementation of KWSYS_PROPERTIES_C
      ca96be22
  4. 27 Aug, 2015 1 commit
  5. 12 Aug, 2015 1 commit
    • Curl Upstream's avatar
      curl 7.44.0 (reduced) · 70654261
      Curl Upstream authored and Brad King's avatar Brad King committed
      Extract upstream curl using the following shell code.
      
      url=git://github.com/bagder/curl.git &&
      v=7.44.0 &&
      r=1a7f66a3 &&
      paths="
        CMake/*
        CMakeLists.txt
        COPYING
        include/curl/*.h
        include/curl/curlbuild.h.cmake
        lib/*.c
        lib/*.h
        lib/CMakeLists.txt
        lib/Makefile.inc
        lib/curl_config.h.cmake
        lib/libcurl.rc
        lib/vtls/*.c
        lib/vtls/*.h
      " &&
      mkdir curl-$v-g$r-reduced &&
      git clone $url curl-git &&
      date=$(cd curl-git && git log -n 1 --format='%cd' $r) &&
      (cd curl-git && git checkout $r &&
       git archive --format=tar $r -- $paths) |
      (cd curl-$v-g$r-reduced && tar xv &&
       rm lib/config-*.h) &&
      echo "g$r date: $date"
      70654261
  6. 05 Aug, 2015 1 commit
    • Brad King's avatar
      Do not install 3rd-party dependencies by default · 26f5445b
      Brad King authored
      Disable the CMake_INSTALL_DEPENDENCIES option by default and turn it on
      explicitly in our packaging scripts.  This simplifies packaging in
      distributions that provide the dependencies for us without having to
      install them.  We only need 3rd-party runtime dependencies to be
      installed for packaging with redistributable binaries.
      26f5445b
  7. 31 Jul, 2015 1 commit
    • Kitware Robot's avatar
      KWSys 2015-07-30 (f63febb7) · 1feafc64
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ f63febb7 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' c9336bcf..f63febb7
      Brad King (1):
            83b4a6b8 Process: Fix conversion warning in testProcess.c
      
      James Johnston (7):
            4cd8846c Process: Remove trailing whitespace in ProcessUNIX.c
            b1c44c58 Process: Refactor sleeping code in testProcess.c.
            faff2ab0 Process: Wait for children to terminate on Ctrl+C.
            ef517b19 Process: Added initial support for process groups.
            906c2cae Process: Added test cases for testing Ctrl+C and process groups.
            52874e6a Process: Fix leaked file descriptor in ProcessUNIX
            f63febb7 Process: Fix error message for startup failure on Windows
      1feafc64
  8. 27 Jul, 2015 1 commit
  9. 07 Jul, 2015 2 commits
  10. 04 Jun, 2015 1 commit
    • Kitware Robot's avatar
      KWSys 2015-06-03 (8533a79b) · 6cafd8ed
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ 8533a79b | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 61e0419f..8533a79b
      Zack Galbreath (1):
            8533a79b SystemInformation: Add GetLoadAverage() method
      6cafd8ed
  11. 28 May, 2015 1 commit
    • Kitware Robot's avatar
      KWSys 2015-05-27 (61e0419f) · ee71b751
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ 61e0419f | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' b1d560a0..61e0419f
      Brad King (1):
            61e0419f SystemTools: Teach RemoveFile to tolerate missing file
      
      Matt McCormick (1):
            9a6b7c3f cmake: Set CMP0056 to NEW
      ee71b751
  12. 20 May, 2015 1 commit
  13. 18 May, 2015 1 commit
  14. 08 May, 2015 1 commit
    • Brad King's avatar
      Avoid using C++14 to build CMake if cstdio breaks · 3307e10f
      Brad King authored
      The GNU 4.8 standard library's cstdio header is not aware that C++14
      honors C11's removal of "gets" from stdio.h and results in an error:
      
        /.../include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace
      
      Detect this problematic case and default to using C++11 instead of
      C++14 for building CMake itself.
      3307e10f
  15. 09 Apr, 2015 1 commit
  16. 10 Mar, 2015 1 commit
  17. 20 Feb, 2015 1 commit
    • Brad King's avatar
      FindJsonCpp: Drop new module due to upstream jsoncpp providing package · a5768442
      Brad King authored
      
      
      Since jsoncpp 0.7.0 (2014-11-20) the upstream may provide a CMake
      package configuration file such that find_package(jsoncpp) will find a
      jsoncppConfig.cmake file.  In order to avoid conflicting with this
      (especially on case-insensitive filesystems), and since we always prefer
      projects to provide package config files (that they maintain), it is
      better to not provide FindJsonCpp publicly.
      
      Move FindJsonCpp into a private source directory that is not installed
      so that we can still use it for building CMake itself.
      Reported-by: Ryan Pavlik's avatarRyan Pavlik <ryan.pavlik@gmail.com>
      a5768442
  18. 29 Jan, 2015 1 commit
  19. 27 Jan, 2015 1 commit
  20. 23 Jan, 2015 1 commit
  21. 20 Jan, 2015 1 commit
  22. 16 Jan, 2015 1 commit
    • Clinton Stimpson's avatar
      Encoding: Switch to use UTF-8 internally by default on Windows. · cdc29c36
      Clinton Stimpson authored and Brad King's avatar Brad King committed
      This fixes several reported bugs about CMake not handling
      non-ascii paths on Windows.
      
      Practically, the use of some unicode characters may still
      be limited by the build or compiler tools.
      
      For example, a user may be limited by the build tools to
      using characters within the Windows ANSI code page (which can
      include non-ascii characters in the current system language).
      cdc29c36
  23. 15 Jan, 2015 1 commit
    • Brad King's avatar
      jsoncpp: Build the library within CMake · 1fc55653
      Brad King authored
      Update json/json.h to account for our lack of autolink.h.  Update
      json/config.h to include KWSys Large File Support configuration so that
      consistent stream libraries are used (on AIX with XL).
      
      Add a cm_jsoncpp_reader.h header to include the CMake-provided copy of
      the json/reader.h header from CMake sources.
      1fc55653
  24. 05 Dec, 2014 1 commit
  25. 25 Nov, 2014 1 commit
  26. 18 Nov, 2014 1 commit
    • Stephen Kelly's avatar
      Build CMake with most-recent available language dialect. · d49f1c5e
      Stephen Kelly authored
      When CMake is built with CMake 3.1 or later, appropriate -std=
      options will be added for GNU and Clang compilers while building
      C and CXX code.
      
      This allows taking advantage of 'hidden' language features such
      as move-constructors, and allows the standard library to enable
      the use of more-advanced features too, where available.
      
      This does not change CMake host compiler requirements.
      d49f1c5e
  27. 12 Nov, 2014 1 commit
    • Kitware Robot's avatar
      KWSys 2014-11-12 (5843f590) · 35ecc355
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ 5843f590 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 88c8cc7f..5843f590
      Ben Boeckel (1):
            5843f590 cmake: remove arguments to endfoo and else commands
      
      Ådne Hovda (1):
            2e4a0ff0 SystemInformation: Check for _SC_AIX_REALMEM before using it
      
      Change-Id: Ifabcd50984d8b24f6034a17d729e255dfc591bbc
      35ecc355
  28. 10 Nov, 2014 1 commit
    • Brad King's avatar
      curl: Configure build to work within CMake · 19593042
      Brad King authored
      Set curl build options as needed for CMake rather than presenting them
      to the user in the cache.  Drop the CMAKE_BUILD_CURL_SHARED option for
      now.
      
      Change the curl library name to 'cmcurl'.  Disable blocks of code within
      curl CMakeLists.txt files that we do not need for CMake, but leave the
      code in place to make merging with curl updates easier.
      19593042
  29. 31 Oct, 2014 1 commit
    • Kitware Robot's avatar
      KWSys 2014-10-31 (88c8cc7f) · 72b5b480
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ 88c8cc7f | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 29ffaf43..88c8cc7f
      Ben Boeckel (11):
            9bf03363 Avoid if() quoted auto-dereference
            771e0f22 DynamicLoader: use strings for arguments
            86e20d68 Directory: remove extra define
            6cc24510 SystemTools: use strings in environment functions
            bab5b1f2 SystemTools: add string overload for ReplaceString
            f3fb01cf SystemTools: use strings for path-related APIs
            0dfbe56d SystemTools: use strings for making C identifiers
            4690fc8d SystemTools: use strings in registry function
            1b762a41 SystemTools: search for characters
            4a060347 SystemInformation: use %ls for WCHAR* format specifiers
            d31f7b12 SystemTools: remove unused variable
      
      Brad King (1):
            88c8cc7f Fix configure_file call to use COPYONLY, not COPY_ONLY
      
      Clinton Stimpson (1):
            5bf91dda SystemTools:  Use extended length path for copying files.
      
      Change-Id: I16e8e55dea1c171c04f9c7d04ae3c575531097c3
      72b5b480
  30. 20 Oct, 2014 1 commit
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 29c3edb8
      Ben Boeckel authored
      When testing CMAKE_<LANG>_COMPILER_ID values, do not explicitly
      dereference or quote the variable. We want if() to auto-dereference the
      variable and not its value. Also replace MATCHES with STREQUAL where
      equivalent.
      29c3edb8
  31. 15 Oct, 2014 1 commit
  32. 08 Oct, 2014 1 commit
    • Curl Upstream's avatar
      curl 7.38.0 (reduced) · 3fe5d9bf
      Curl Upstream authored and Brad King's avatar Brad King committed
      Extract upstream curl using the following shell code.
      
      url=git://github.com/bagder/curl.git &&
      v=7.38.0 &&
      r=202aa9f7 &&
      paths="
        CMake/*
        CMakeLists.txt
        COPYING
        include/curl/*.h
        include/curl/curlbuild.h.cmake
        lib/*.c
        lib/*.h
        lib/CMakeLists.txt
        lib/Makefile.inc
        lib/curl_config.h.cmake
        lib/libcurl.rc
        lib/vtls/*.c
        lib/vtls/*.h
      " &&
      mkdir curl-$v-g$r-reduced &&
      git clone $url curl-git &&
      date=$(cd curl-git && git log -n 1 --format='%cd' $r) &&
      (cd curl-git && git checkout $r &&
       git archive --format=tar $r -- $paths) |
      (cd curl-$v-g$r-reduced && tar xv &&
       rm lib/config-*.h) &&
      echo "g$r date: $date"
      3fe5d9bf
  33. 24 Sep, 2014 1 commit
  34. 11 Sep, 2014 1 commit
  35. 29 Jul, 2014 1 commit
  36. 07 Jul, 2014 2 commits
    • Brad King's avatar
      Tests: Build and test KWIML even when testing an external CMake · 38d3fe07
      Brad King authored
      The CMake_TEST_EXTERNAL_CMAKE option added by commit 9608ef6f (Tests:
      Optionally configure tests exclusively, 2014-03-03) is intended to allow
      one to run the CMake test suite with a compiler that may not be
      supported for hosting the build of CMake itself.  However, we currently
      use the CMake test infrastructure to test KWIML everywhere that CMake
      supports.  In order to continue testing KWIML even in places that CMake
      itself does not build, include it even when testing an external CMake.
      38d3fe07
    • Kitware Robot's avatar
      KWSys 2014-07-02 (c2a329ce) · 3d127627
      Kitware Robot authored and Brad King's avatar Brad King committed
      Extract upstream KWSys using the following shell commands.
      
      $ git archive --prefix=upstream-kwsys/ c2a329ce | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' c282e64f..c2a329ce
      Chuck Atkins (3):
            e4bba930 Directory: Make sure the /* suffix uses correct slashes
            97817ce7 SystemTools: Refactor test file and directory locations
            8f991ab0 SystemTools: Use extended paths on Windows for > 256 length
      
      Clinton Stimpson (1):
            c2a329ce Encoding: Fixes uses of stat() on Windows to work with unicode.
      
      Change-Id: I8e3aa1ba66ce80900cb25a692287495b911dcbd0
      3d127627
  37. 24 Jun, 2014 1 commit
  38. 15 Apr, 2014 1 commit
    • LibArchive Upstream's avatar
      libarchive 3.1.2-246-ga5a5d28b (reduced) · 37f225b7
      LibArchive Upstream authored and Brad King's avatar Brad King committed
      Extract upstream libarchive using the following shell code.
      
      url=git://github.com/libarchive/libarchive.git &&
      v=3.1.2-246-ga5a5d28b &&
      r=a5a5d28b &&
      paths="
        CMakeLists.txt
        COPYING
        CTestConfig.cmake
        build/cmake
        build/pkgconfig
        build/utils
        build/version
        libarchive/*.*
      " &&
      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"
      37f225b7