1. 10 May, 2018 1 commit
    • Brad King's avatar
      add_library: Restore error on alias of non-global imported target · e567d7eb
      Brad King authored
      In commit v3.11.0-rc1~433^2~1 (Add support for IMPORTED GLOBAL targets
      to be aliased, 2017-09-14) we accidentally dropped the error on calling
      `add_library` to alias an imported target that is not globally visible.
      The `add_executable` command's equivalent check was properly updated.
      Restore the check in `add_library` with the same update.  Also fix the
      test case accordingly.
      
      Fixes: #17982
      e567d7eb
  2. 17 Apr, 2018 3 commits
  3. 16 Apr, 2018 6 commits
  4. 13 Apr, 2018 2 commits
  5. 11 Apr, 2018 2 commits
  6. 10 Apr, 2018 2 commits
  7. 09 Apr, 2018 2 commits
  8. 04 Apr, 2018 3 commits
  9. 03 Apr, 2018 7 commits
  10. 28 Mar, 2018 1 commit
  11. 27 Mar, 2018 3 commits
  12. 26 Mar, 2018 2 commits
    • Brad King's avatar
      Merge branch 'revert-CTestTestfile-removal-again' into release-3.11 · 188c5c2a
      Brad King authored
      Merge-request: !1887
      188c5c2a
    • Brad King's avatar
      Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF" · 70c50aa2
      Brad King authored
      Revert commit v3.8.0-rc1~305^2 (Remove CTestTestfile.cmake when BUILD_TESTING
      is OFF, 2016-11-14) again.  We reverted it once in commit v3.8.0-rc3~22^2
      (Revert "Remove CTestTestfile.cmake when BUILD_TESTING is OFF", 2017-03-06) but
      it was accidentally restored by commit v3.11.0-rc1~387^2 (server: add
      "ctestInfo" request to get test info, 2017-10-25), perhaps due to conflict
      resolution during rebase.
      
      We cannot remove `CTestTestfile.cmake` when testing is off because it breaks
      projects that never enable testing but create their own `CTestTestfile.cmake`
      manually instead.  Revert the change again and add a test case.
      70c50aa2
  13. 21 Mar, 2018 3 commits
  14. 20 Mar, 2018 1 commit
  15. 19 Mar, 2018 2 commits