1. 06 Mar, 2014 2 commits
  2. 12 Feb, 2014 2 commits
  3. 09 Feb, 2014 1 commit
  4. 07 Feb, 2014 2 commits
  5. 06 Feb, 2014 1 commit
    • Brad King's avatar
      Tests: Speed up RunCMake.CheckModules test · 78be3247
      Brad King authored
      Enable the C and CXX languages only in the test cases that really need
      them.  In the failure cases we do not get far enough to really use the
      languages, so skip enabling them.
      78be3247
  6. 29 Jan, 2014 2 commits
    • Brad King's avatar
      project: Manage VERSION variables · 7e142c5a
      Brad King authored
      
      
      Teach the project() command to set variables
      
        {PROJECT,<PROJECT-NAME>}_VERSION{,_MAJOR,_MINOR,_PATCH,_TWEAK}
      
      holding the project version number and its components.  Add project()
      command option "VERSION" to specify the version explicitly, and default
      to the empty string when it is not given.
      
      Since this clears variables when no VERSION is given, this may change
      behavior for existing projects that set the version variables themselves
      prior to calling project().  Add policy CMP0048 for compatibility.
      Suggested-by: Alexander Neundorf's avatarAlex Neundorf <neundorf@kde.org>
      7e142c5a
    • Brad King's avatar
      project: Add optional LANGUAGES keyword · 16d040c9
      Brad King authored
      Teach the project() command to recognize an optional "LANGUAGES"
      keyword after the project name and prior to the list of languages.
      Do not allow multiple copies of the keyword.  If the keyword is
      specified and no languages are listed, imply NONE.
      16d040c9
  7. 28 Jan, 2014 1 commit
  8. 21 Jan, 2014 3 commits
  9. 20 Jan, 2014 3 commits
    • Brad King's avatar
      cmake: Improve '-E create_symlink' edge case handling (#14713) · e0228e2b
      Brad King authored
      The logic added by commit ffc0b5e4 (Overwrite the symlink if it already
      exists, 2007-02-15) does not recognize and remove existing broken links
      before replacing them.  Improve the logic to remove any existing
      destination file or link (but not directory).  On failure, report an
      error message explaining why the existing path could not be removed or
      the new one could not be created.
      
      Add a RunCMake.CommandLine test to cover 'cmake -E' cases.  Start with
      test cases covering 'cmake -E create_symlink' behavior on UNIX platforms.
      e0228e2b
    • Brad King's avatar
      Tests/RunCMake: Add function to run a specified command-line · d4ca30ae
      Brad King authored
      Add a 'run_cmake_command' function that can be used by tests to run a
      given command-line and check the results rather than always running a
      CMake configuration process.  This can be used in the future to test
      'cmake -E' for example.
      d4ca30ae
    • Brad King's avatar
      392a6553
  10. 12 Jan, 2014 1 commit
  11. 10 Jan, 2014 1 commit
  12. 08 Jan, 2014 4 commits
  13. 07 Jan, 2014 4 commits
  14. 06 Jan, 2014 2 commits
  15. 04 Jan, 2014 6 commits
  16. 02 Jan, 2014 1 commit
  17. 24 Dec, 2013 1 commit
    • Stephen Kelly's avatar
      export: Implement EXPORT subcommand (#9822) · cbe7e8fa
      Stephen Kelly authored
      Teach the export command to handle export sets defined by invocations
      of install(TARGETS ... EXPORT foo).  This makes maintenance of targets
      exported to both the build tree and install tree trivial.
      cbe7e8fa
  18. 19 Dec, 2013 1 commit
  19. 09 Dec, 2013 1 commit
    • Stephen Kelly's avatar
      Don't search for IMPORTED_LOCATION of INTERFACE_LIBRARY (14636) · 3b8e56a5
      Stephen Kelly authored
      The INTERFACE_LIBRARY type does not have any LOCATION at all, so
      return early from GetMappedConfig. GetMappedConfig is called from
      two locations, one of which already pre-checks the INTERFACE_LIBRARY
      case. Remove that pre-check and handle that case inside the method
      instead.
      3b8e56a5
  20. 08 Dec, 2013 1 commit