1. 18 Oct, 2019 1 commit
  2. 28 Sep, 2019 2 commits
    • Steve Wilson's avatar
      Languages: Add support for Objective-C++ · 9e66397c
      Steve Wilson authored
      Add entries in Modules and Modules/Platform to support
      Objective-C++ compiler determination and identification.
      Add Modules to check Objective-C++ compiler flags, source
      compilations, program checks, etc...
      
      Use OBJCXX as the designator of the language, eg:
      
      project(foo OBJCXX)
      
      Add various tests for Objective-C++ language features.  Add
      tests to preserve C++ handling of .M and .mm files when
      Objective-C++ is not a configured language.
      Co-authored-by: Cristian Adam's avatarCristian Adam <cristian.adam@gmail.com>
      9e66397c
    • Steve Wilson's avatar
      Languages: Add support for Objective-C · 80f120a8
      Steve Wilson authored
      Add entries in Modules and Modules/Platform to support
      Objective-C compiler determination and identification.
      Add Modules to check Objective-C compiler flags, source
      compilations, program checks, etc...
      
      Use OBJC as the designator of the language, eg:
      
      project(foo OBJC)
      
      Add various tests for Objective-C language features.  Add
      tests to preserve C++ handling of .m and .mm files when
      OBJC is not a configured language.
      Co-Authored-By: Cristian Adam's avatarCristian Adam <cristian.adam@gmail.com>
      80f120a8
  3. 30 Jul, 2019 1 commit
  4. 01 Apr, 2019 1 commit
  5. 27 Mar, 2019 1 commit
  6. 13 Dec, 2018 1 commit
    • Kyle Edwards's avatar
      CMakeParseArguments: Remove superfluous includes of CMakeParseArguments · 88b40744
      Kyle Edwards authored
      Because cmake_parse_arguments() has been implemented as a native
      command, there is no need to include(CMakeParseArguments) anymore.
      Its inclusion has been removed from several CMake modules.
      
      Tests/CMakeOnly/CMakeLists.txt has been changed to include the
      *building* CMake's copy of CMakeParseArguments rather than the
      *built* CMake's copy. This file included the *built* copy because
      when this file was introduced, CMake could still be built with versions
      that didn't supply cmake_parse_arguments(). Now, CMake requires 3.1 or
      greater, where cmake_parse_arguments() existed but was still in the
      form of a module, so we include it from the *building* CMake.
      88b40744
  7. 09 Jul, 2018 1 commit
  8. 21 Jun, 2018 1 commit
  9. 02 Apr, 2018 1 commit
  10. 19 Apr, 2017 1 commit
  11. 03 Apr, 2017 1 commit
  12. 31 Mar, 2017 1 commit
    • Brad King's avatar
      Tests: Add option to customize LinkInterfaceLoop timeout · 716f8c88
      Brad King authored
      This test has a timeout in case CMake gets into an infinite loop.  The
      default of 90 seconds should be plenty of time for the test to run
      correctly since it does not actually do a build.  However, busy machines
      that run lots of tests in parallel may need a longer timeout.  Give them
      an option to extend it.
      716f8c88
  13. 15 Dec, 2016 1 commit
  14. 08 Oct, 2013 1 commit
    • Daniele E. Domenichelli's avatar
      CheckStructHasMember: Add support for C++ · 73d28d21
      Daniele E. Domenichelli authored
      Previously if headers required to check if a struct has a member can be
      compiled with C++ compiler only, the check would fail because the C
      compiler fails.  As a consequence, the result variable would be set to
      false, even if the struct has that particular member.
      
      Teach CHECK_STRUCT_HAS_MEMBER to accept a new optional argument LANGUAGE
      that allows one to explicitly set the compiler to use.  The new
      signature is therefore:
      
        CHECK_STRUCT_HAS_MEMBER (<struct> <member> <header> <variable>
                                 [LANGUAGE <language>])
      73d28d21
  15. 26 Nov, 2012 1 commit
  16. 01 Nov, 2012 1 commit
  17. 31 Oct, 2012 1 commit
    • Rolf Eike Beer's avatar
      Tests: add MajorVersionSelection tests · d1f3bfe5
      Rolf Eike Beer authored
      For things where we may have 2 major versions of the same software
      installed in parallel (think of Qt and Python) make sure our version
      selection gets this right.
      d1f3bfe5
  18. 21 Oct, 2012 1 commit
  19. 22 Aug, 2012 1 commit
  20. 20 Jul, 2012 1 commit
    • Brad King's avatar
      find_library: Add test covering lib->lib64 cases · 1fe4b82a
      Brad King authored
      Add a "CMakeOnly.find_library" test covering various cases involving
      lib->lib64 (non-)conversion.  Comment out cases involving mixed path
      components "lib" and "lib64", such as lib/A/lib64 and lib64/A/lib, as
      these are known to be broken currently.
      1fe4b82a
  21. 29 Feb, 2012 1 commit
  22. 17 Feb, 2012 1 commit
  23. 08 Feb, 2012 1 commit
    • Brad King's avatar
      Add CheckLanguage module · 5db99e87
      Brad King authored
      Define a "check_language(<lang>)" macro to test whether <lang> can be
      enabled.  Cache the result in CMAKE_<lang>_COMPILER.  Add a test case
      covering expected results.
      5db99e87
  24. 30 Jan, 2012 1 commit
  25. 25 Jan, 2012 1 commit
  26. 16 Jan, 2012 2 commits
  27. 13 Jan, 2012 2 commits
    • Brad King's avatar
      Tolerate cycles in shared library link interfaces (#12647) · 8e756d2b
      Brad King authored
      Since commit 183b9509 (Follow all dependencies of shared library private
      dependencies, 2011-12-14) we honor LINK_INTERFACE_LIBRARIES when
      following dependent shared libraries.  The link interface properties may
      form a cycle if set incorrectly by a project.  Furthermore, the property
      LINK_DEPENDENT_LIBRARIES may form a cycle if set incorrectly by hand
      (though CMake should never generate one).  In either case, do not follow
      the cycle forever when following the dependent shared library closure.
      We only need to add dependency edges to the constraint graph once.
      
      Add "LinkInterfaceLoop" test to cover this case.
      8e756d2b
    • Brad King's avatar
      Add infrastructure for CMake-only tests · 9a20abf0
      Brad King authored
      Some tests only need to run CMake to configure and generate a build
      tree, but not actually perform the build.  Add a new "Tests/CMakeOnly"
      directory dedicated for this purpose.  Add a helper script to drive each
      test by creating a fresh build tree and running CMake on it.  Add macro
      "add_CMakeOnly_test" to help create tests using the script.
      9a20abf0