1. 22 Mar, 2017 1 commit
  2. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Tests · 7a649111
      Daniel Pfeifer authored
      Automate with:
      
      find Tests -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
      7a649111
  3. 01 Feb, 2016 1 commit
    • Brad King's avatar
      cmConditionEvaluator: Fix matching of `CMAKE_MATCH_*` values (#15944) · 6ffc4323
      Brad King authored
      While evaluating `if(MATCHES)` we get a `const char*` pointer to the
      string to be matched.  On code like
      
          if(CMAKE_MATCH_COUNT MATCHES "Y")
      
      the string to be matched may be owned by our own result variables.
      We must move the value to our own buffer before clearing them.
      Otherwise we risk reading freed storage.
      6ffc4323
  4. 03 Aug, 2015 1 commit
    • Matt McCormick's avatar
      if: Add "TEST <test>" condition · 14e49ed1
      Matt McCormick authored
      if(TEST TestNameThatExists) will return true if a test with the name
      TestNameThatExists has been added with add_test.  The syntax is similar
      to if(TARGET TargetName).  Since use of "TEST" as an argument to if()
      could previously be interpreted as a non-keyword argument, add policy
      CMP0064 to treat it as a keyword as NEW behavior.
      14e49ed1
  5. 14 Jul, 2015 1 commit
    • Brad King's avatar
      Tests: Move command failure cases into RunCMake infrastructure · e5ca59b4
      Brad King authored
      Move failure cases from the CMake.{If,List,While,GetProperty} tests over
      to the RunCMake.{if,list,while,get_property} tests to use the more
      modern infrastructure.  This also avoids using REGEX_ESCAPE_STRING to
      try to regex-match full paths.
      e5ca59b4
  6. 18 May, 2015 1 commit
  7. 13 Aug, 2013 1 commit
  8. 28 May, 2013 1 commit
    • Brad King's avatar
      if: Add test for IS_DIRECTORY · 7378792b
      Brad King authored
      Add a RunCMake.if test to cover if() command behavior.  Start with a
      test for IS_DIRECTORY cases with an existing directory and a long path,
      both with a trailing slash.
      7378792b