1. 25 Mar, 2008 1 commit
  2. 20 Mar, 2008 2 commits
    • Brad King's avatar
      ENH: Add "if(POLICY policy-id)" option for IF command. · a6a67397
      Brad King authored
        - This will help projects support multiple CMake versions.
        - In order to set a policy when using a newer CMake but still
          working with an older CMake one may write
            if(POLICY CMP1234)
              cmake_policy(SET CMP1234 NEW)
            endif(POLICY CMP1234)
        - Note that since CMake 2.4 does not have if(POLICY) supporting
          it will also require using "if(COMMAND cmake_policy)"
      a6a67397
    • Brad King's avatar
      BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in... · 8e2f45c2
      Brad King authored
      BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in Tests/MakeClean/ToClean/CMakeLists.txt and Tests/Preprocess/CMakeLists.txt.  CMP0000 now requires the cmake_minimum_required command.
      8e2f45c2
  3. 12 Mar, 2008 1 commit
  4. 07 Mar, 2008 1 commit
    • Brad King's avatar
      ENH: Improve handling of old-style compatibility. · 5233b75a
      Brad King authored
        - Remove CMP_0001 (no slash in target name) and restore
          old CMAKE_BACKWARDS_COMPATIBILITY check for it
        - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY
          with cmLocalGenerator::NeedBackwardsCompatibility calls
        - Create new CMP_0001 to determine whether or not
          CMAKE_BACKWARDS_COMPATIBILITY is used.
          (old = use, new = ignore)
        - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when
          CMP_0001 is set to OLD or WARN
        - Update documentation of cmake_policy and cmake_minimum_required
          to indicate their relationship and the 2.4 version boundary
        - When no cmake policy version is set in top level makefile
          implicitly call cmake_policy(VERSION 2.4) which restores
          CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility
        - Fix tests MakeClean and Preprocess to call
          cmake_policy(VERSION 2.6) because they depend on new policies
      5233b75a
  5. 04 Mar, 2008 1 commit
    • David Cole's avatar
      ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries... · a4e0edd4
      David Cole authored
      ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results.
      a4e0edd4
  6. 01 Mar, 2008 2 commits
  7. 14 Feb, 2008 1 commit
  8. 08 Feb, 2008 1 commit
  9. 07 Feb, 2008 2 commits
  10. 06 Feb, 2008 2 commits
  11. 03 Feb, 2008 1 commit
  12. 01 Feb, 2008 4 commits
  13. 31 Jan, 2008 1 commit
    • Brad King's avatar
      ENH: Support linking to shared libs with dependent libs · 2cff26fa
      Brad King authored
        - Split IMPORTED_LINK_LIBRARIES into two parts:
            IMPORTED_LINK_INTERFACE_LIBRARIES
            IMPORTED_LINK_DEPENDENT_LIBRARIES
        - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
        - Set mode to LINK for Darwin (fixes universal binary problem)
        - Update ExportImport test to account for changes
      2cff26fa
  14. 30 Jan, 2008 3 commits
  15. 29 Jan, 2008 2 commits
  16. 28 Jan, 2008 8 commits
  17. 23 Jan, 2008 1 commit
  18. 22 Jan, 2008 2 commits
    • Brad King's avatar
    • Brad King's avatar
      ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832 · 96fd5909
      Brad King authored
        - This is purely an implementation improvement.  No interface has changed.
        - Create cmComputeLinkInformation class
        - Move and re-implement logic from:
            cmLocalGenerator::ComputeLinkInformation
            cmOrderLinkDirectories
        - Link libraries to targets with their full path (if it is known)
        - Dirs specified with link_directories command still added with -L
        - Make link type specific to library names without paths
          (name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
        - Make directory ordering specific to a runtime path computation feature
          (look for conflicting SONAMEs instead of library names)
        - Implement proper rpath support on HP-UX and AIX.
      96fd5909
  19. 21 Jan, 2008 2 commits
  20. 18 Jan, 2008 1 commit
  21. 17 Jan, 2008 1 commit