1. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
  2. 14 Dec, 2011 1 commit
    • Brad King's avatar
      Follow all dependencies of shared library private dependencies · 183b9509
      Brad King authored
      In cmComputeLinkDepends we compute the transitive closure of private
      shared library dependencies.  When a shared library is added to this
      closure we must follow all of its dependencies whether they are private
      or public.  Previously we only followed the private dependencies.  Fix
      the implementation to follow the public dependencies too.  Also extend
      the ExportImport test to cover this case.
  3. 01 Sep, 2009 1 commit
    • Brad King's avatar
      Test link multiplicity export/import · d2591288
      Brad King authored
      We test that LINK_INTERFACE_MULTIPLICITY propagates through export() and
      install(EXPORT) into dependent projects.  A simple cycle of two archives
      that need to be scanned three times ensures that the importing project
      uses the multiplicity correctly.
  4. 13 Jul, 2009 1 commit
  5. 11 Jul, 2009 1 commit
    • Brad King's avatar
      ENH: Test export/import of link interface languages · 3621e073
      Brad King authored
      This extends the ExportImport test.  The Export project creates a C++
      static library and exports it.  Then the Import project links the
      library into a C executable.  On most platforms the executable will link
      only if the C++ linker is chosen correctly.
  6. 08 Jul, 2009 1 commit
  7. 01 May, 2009 1 commit
    • Brad King's avatar
      ENH: Allow more specification of target file names · 2740db5e
      Brad King authored
      This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME,
      and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties
      RUNTIME_OUTPUT_NAME_<CONFIG>.  They allow specification of target output
      file names on a per-type, per-configuration basis.  For example, a .dll
      and its .lib import library may have different base names.
      For consistency and to avoid ambiguity, the old <CONFIG>_OUTPUT_NAME
      property is now also available as OUTPUT_NAME_<CONFIG>.
      See issue #8920.
  8. 08 Apr, 2009 1 commit
    • Brad King's avatar
      Brad King authored
      Linking to a Windows shared library (.dll) requires only its import
      library (.lib).  This teaches CMake to recognize SHARED IMPORTED library
      targets that set only IMPORTED_IMPLIB and not IMPORTED_LOCATION.
  9. 04 Sep, 2008 1 commit
  10. 18 Aug, 2008 1 commit
    • Brad King's avatar
      ENH: Make link interface mode more distinct · 94c1fe83
      Brad King authored
      Rename the recently added INTERFACE mode of the target_link_libraries()
      command to LINK_INTERFACE_LIBRARIES.  This makes it much more distinct
      from a normal call to the command, and clearly states its connection to
      the property of the same name.  Also require the option to appear
      immediately after the target name to make it a mode rather than an
  11. 12 Aug, 2008 1 commit
  12. 11 Aug, 2008 1 commit
  13. 25 Mar, 2008 1 commit
  14. 06 Feb, 2008 1 commit
  15. 01 Feb, 2008 2 commits
  16. 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:
        - 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
  17. 30 Jan, 2008 1 commit
  18. 28 Jan, 2008 5 commits