export_library_dependencies.rst 1016 B

1234567891011121314151617181920212223242526
  1. export_library_dependencies
  2. ---------------------------
  3. Deprecated. Use INSTALL(EXPORT) or EXPORT command.
  4. This command generates an old-style library dependencies file.
  5. Projects requiring CMake 2.6 or later should not use the command. Use
  6. instead the install(EXPORT) command to help export targets from an
  7. installation tree and the export() command to export targets from a
  8. build tree.
  9. The old-style library dependencies file does not take into account
  10. per-configuration names of libraries or the LINK_INTERFACE_LIBRARIES
  11. target property.
  12. ::
  13. export_library_dependencies(<file> [APPEND])
  14. Create a file named <file> that can be included into a CMake listfile
  15. with the INCLUDE command. The file will contain a number of SET
  16. commands that will set all the variables needed for library dependency
  17. information. This should be the last command in the top level
  18. CMakeLists.txt file of the project. If the APPEND option is
  19. specified, the SET commands will be appended to the given file instead
  20. of replacing it.