1. 28 Sep, 2016 1 commit
    • Brad King's avatar
      project: Fix support for explicit RC language · 9c5238df
      Brad King authored
      The check added in commit v3.6.0-rc1~293^2 (Diagnose recursive
      project/enable_language without crashing, 2016-03-07) broke support for
      enabling `RC` explicitly along with other languages like `C`.  The
      reason is that we enable all listed languages at once so the internal
      `enable_language(RC)` that we do while enabling `C` or `CXX` on some
      platforms triggers the recursion check if `RC` is explicitly listed.
      Ideally we should refactor things to only enable one language at a time,
      but for now it is simplest to just exclude `RC` from the explicit list
      until other languages are enabled, and then enable it.
      Closes: #16330
  2. 20 Sep, 2016 2 commits
    • Craig Scott's avatar
      CTest: Add support for test fixtures · 73f47c9e
      Craig Scott authored
      Add new test properties:
      to specify the roles and dependencies of tests providing/using
      test fixtures.
    • Bill Hoffman's avatar
      CTest: Add CAPTURE_CMAKE_ERROR val to `ctest_*` commands · d328dc68
      Bill Hoffman authored
      If a `ctest_*` command has CAPTURE_CMAKE_ERROR then any errors generated
      by cmake during that command will cause the value to be assigned `-1`.
      This will prevent a `ctest -S` script from returning non-zero unless the
      script explicitly calls `message(FATAL_ERROR)`.
  3. 13 Sep, 2016 1 commit
    • Bill Hoffman's avatar
      Add support for creating prebuilt Android.mk files · 42ce9f1e
      Bill Hoffman authored
      Add options to the `install()` and `export()` commands to export the
      targets we build into Android.mk files that reference them as prebuilt
      libraries with associated usage requirements (compile definitions,
      include directories, link libraries).  This will allow CMake-built
      projects to be imported into projects using the Android NDK build
      Closes: #15562
  4. 05 Sep, 2016 1 commit
  5. 23 Aug, 2016 1 commit
  6. 21 Jul, 2016 1 commit
  7. 17 Jun, 2016 1 commit
  8. 09 May, 2016 1 commit
  9. 13 Apr, 2016 1 commit
  10. 23 Mar, 2016 1 commit
  11. 22 Mar, 2016 1 commit
  12. 18 Mar, 2016 1 commit
  13. 09 Mar, 2016 1 commit
    • Brad King's avatar
      Drop Visual Studio 6 generator · b42866a3
      Brad King authored
      This generator has been deprecated since CMake 3.3.  Remove it.
      Update documentation, modules, and tests to drop content specific
      to this generator.
  14. 07 Mar, 2016 1 commit
  15. 26 Feb, 2016 1 commit
  16. 17 Dec, 2015 1 commit
  17. 13 Nov, 2015 1 commit
  18. 28 Sep, 2015 1 commit
  19. 21 Sep, 2015 1 commit
  20. 17 Sep, 2015 1 commit
  21. 02 Sep, 2015 2 commits
    • Brad King's avatar
      Tests: Move LINK_SEARCH_{START,END}_STATIC case to dedicated test · 18d7f8fb
      Brad King authored
      The test case added to RunCMake.set_property by commit 675ef165 (Allow
      LINK_SEARCH_{START,END}_STATIC props to have default values, 2015-08-07)
      is not a test of the set_property command and so belongs in its own test
      case.  Create a new RunCMake.LinkStatic test to cover cases related to
      static linking.
      While at it, simplify the LINK_SEARCH_STATIC test case to enable only C.
    • Brad King's avatar
      Tests: Add explicit testing for find_program · fdbfc9f6
      Brad King authored
      Previously this command was tested only implicitly as part of larger
      tests.  Add a RunCMake.find_program test to cover find_program cases
      specifically and independently.
  22. 28 Aug, 2015 1 commit
    • Roman Donchenko's avatar
      CPack generator independent tests · 674dc0b3
      Roman Donchenko authored
      CPackConfig.cmake file generation from CMake test suite.
      Currently it contains only a simple test without special
      characters in variable value.
      Test is not part of RunCMake/CPack as those tests are
      expected to be run for a specified generator.
  23. 04 Aug, 2015 1 commit
  24. 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.
  25. 01 Aug, 2015 1 commit
  26. 22 Jul, 2015 1 commit
  27. 14 Jul, 2015 2 commits
  28. 08 Jul, 2015 1 commit
  29. 06 Jul, 2015 2 commits
  30. 18 Jun, 2015 1 commit
    • Brad King's avatar
      GNUInstallDirs: Add test cases · 5f30f175
      Brad King authored
      Add a RunCMake.GNUInstallDirs test with cases covering various install
      prefixes.  Hard-code the architecture information.  Tolerate all
      platform-specific LIBDIR values.
      Currently the root prefix is not handled well, but verify the current
      behavior in the test anyway.  This can be addressed with a future
      Inspired-by: Alex Turbov's avatarAlex Turbov <i.zaufi@gmail.com>
  31. 15 Jun, 2015 3 commits
    • Domen Vrankar's avatar
      Tests: Move RunCMake.CPackRPM case into RunCMake.CPack_RPM test · 5f61ed99
      Domen Vrankar authored
      Move PARTIALLY_RELOCATABLE_WARNING test to the new common CPack test
      script structure to have all tests in one place as well as additional
      benefit of having some more checks done during test execution.
    • Domen Vrankar's avatar
      Tests: Add RunCMake tests for CPack{Deb,RPM} · e726fc02
      Domen Vrankar authored
      Add script structure for easier addition of new CPack related tests.
    • Bill Hoffman's avatar
      Add options to launch the compiler through tools like ccache or distcc · 698f7597
      Bill Hoffman authored
      Create a <LANG>_COMPILER_LAUNCHER target property (initialized by a
      CMAKE_<LANG>_COMPILER_LAUNCHER variable) to specify a compiler launcher
      tool.  This will supersede the CMAKE_<LANG>_COMPILER_ARG1 approach to
      using such tools.  The old approach set CMAKE_<LANG>_COMPILER to the
      launcher tool while the new approach leaves this variable set to the
      actual compiler.
      Implement this property for Makefile and Ninja generators.  It cannot be
      implemented for VS or Xcode generators as the IDE build tools offer no
      such hooks.
  32. 22 May, 2015 1 commit
    • Brad King's avatar
      Tests: Refactor RunCMake.VisibilityPreset test setup · ab55b3b5
      Brad King authored
      Enable languages only in the individual test case.  Enable the test
      everywhere except Visual Studio generators (which do not implement the
      properties) and just set fake flags as needed to activate relevant code
      paths.  Drop unneeded CMAKE_SUPPRESS_REGENERATION which seems to have
      been copied from an unrelated test when this test was created.
  33. 19 May, 2015 1 commit
  34. 07 May, 2015 1 commit
    • Brad King's avatar
      execute_process: Improve stdout/stderr merging · f65bb82f
      Brad King authored
      Use the KWSys Process "MergeOutput" option to give the child process
      the same pipe (or file) for both stdout and stderr.  This allows
      natural merging of stdout and stderr together instead of merging
      on arbitrary buffered read boundaries as before.