1. 05 Nov, 2019 1 commit
    • Brad King's avatar
      CTest: Rename PROCESSES test property to RESOURCE_GROUPS · af9ed543
      Brad King authored
      The `PROCESSES` test property name added for CMake 3.16 is too close to
      the existing `PROCESSORS` test property.  Furthermore, the property in
      principle specifies groups of resources organized in a way that is
      meaningful to a particular test.  The groups may often correspond to
      processes but they could have other meanings.  Since the property name
      `PROCESSES` has not been in a final 3.16 release yet, simply rename it
      to `RESOURCE_GROUPS`.
      
      Fixes: #19914
      af9ed543
  2. 02 Oct, 2019 4 commits
  3. 23 Aug, 2019 1 commit
  4. 01 Aug, 2019 1 commit
  5. 07 May, 2019 1 commit
    • Kyle Edwards's avatar
      cmUVProcessChain: Add cmUVProcessChain · 26025d6e
      Kyle Edwards authored
      This class is ultimately intended as a replacement for cmsys::Process.
      It spawns a series of processes using libuv, piping the output of each
      command into the next.
      
      Note: input support has not yet been implemented because write
      support has not yet been implemented on cmUVStreambuf.
      26025d6e
  6. 25 Apr, 2019 1 commit
  7. 04 Apr, 2019 1 commit
  8. 21 Feb, 2019 1 commit
  9. 12 Dec, 2018 1 commit
    • Brad King's avatar
      String: Add a custom string type · ff69763c
      Brad King authored
      Create a `cm::String` type that holds a view of a string buffer and
      optionally shares ownership of the buffer.  Instances can either
      borrow longer-lived storage (e.g. static storage of string literals)
      or internally own a `std::string` instance.  In the latter case,
      share ownership with copies and substrings.  Allocate a new internal
      string only on operations that require mutation.
      
      This will allow us to recover string sharing semantics that we
      used to get from C++98 std::string copy-on-write implementations.
      Such implementations are not allowed by C++11 so code our own in
      a custom string type instead.
      ff69763c
  10. 05 Mar, 2018 1 commit
    • Brad King's avatar
      CTest: Add options to control test process affinity to CPUs · 6be53c66
      Brad King authored
      In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and
      RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors
      allocated to running tests in order to balance it against the desired
      level of parallelism.  Extend this idea by introducing a new
      `PROCESSOR_AFFINITY` test property to ask that CTest run a test
      with the CPU affinity mask set.  This will allow a set of tests
      that are running concurrently to use disjoint CPU resources.
      6be53c66
  11. 09 Jan, 2018 1 commit
  12. 30 Nov, 2017 1 commit
  13. 22 Apr, 2017 1 commit
  14. 30 Nov, 2016 1 commit
  15. 15 Sep, 2016 1 commit
    • Pierluigi Taddei's avatar
      find_package: Optionally sort globbed directories in a meaningful order · 31be918b
      Pierluigi Taddei authored
      Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
      sort order and direction.
      
      When multiple package with the same name have been found in the same
      location sorting option can be used to force a specific version to be
      loaded (e.g. libA_1.12.0 instead of libA_1.1.0).  Currently sorting by
      NAME and by NATURAL order have been implemented.
      
      Natural ordering makes use of the `strverscmp(3)` ordering.
      31be918b
  16. 18 Dec, 2014 1 commit
  17. 06 Jun, 2014 1 commit
  18. 16 Oct, 2013 1 commit
    • Brad King's avatar
      Add class cmRST to do basic reStructuredText processing · 25f2877e
      Brad King authored
      Create a cmRST class to perform just enough reStructuredText processing
      to support display of Help documents in human-readable text format.
      This will be used to implement --help-* command-line options.
      
      Support directives "include", "replace", "parsed-literal", "toctree"
      (Sphinx), and "cmake-module" (CMake Sphinx Extension to scan .cmake
      modules).  Support inline CMake Sphinx Domain roles to convert
      cross-references to corresponding title text.  Support inline
      substitutions defined by the "replace" directive, but keep it simple by
      requiring replacements to be defined before use.
      
      Add a CMakeLib "testRST" case to cover processing of supported
      constructs and compare results against expected output.
      25f2877e
  19. 15 Oct, 2013 1 commit
    • 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.
      920ffbf5
  20. 12 Apr, 2013 1 commit
  21. 23 Dec, 2011 2 commits
  22. 16 May, 2011 1 commit
  23. 25 Apr, 2011 1 commit
  24. 28 Jan, 2010 1 commit
  25. 09 Dec, 2009 1 commit
    • Brad King's avatar
      Create CMakeLibTests output dir for Xcode · 9478ad09
      Brad King authored
      Xcode 2.x forgets to create the target output directory before linking
      the individual architecture pieces of a universal binary for the target
      CMakeLibTests.  Then it passes the directory to -L and -F options when
      linking the and warns that the directory does not exist.  We work around
      the problem by using a pre-build rule on the target to create the output
      directory.
      9478ad09
  26. 08 Dec, 2009 3 commits