install_targets.rst 594 B

1234567891011121314151617
  1. install_targets
  2. ---------------
  3. Deprecated. Use the install(TARGETS ) command instead.
  4. This command has been superceded by the install command. It is
  5. provided for compatibility with older CMake code.
  6. ::
  7. install_targets(<dir> [RUNTIME_DIRECTORY dir] target target)
  8. Create rules to install the listed targets into the given directory.
  9. The directory <dir> is relative to the installation prefix, which is
  10. stored in the variable CMAKE_INSTALL_PREFIX. If RUNTIME_DIRECTORY is
  11. specified, then on systems with special runtime files (Windows DLL),
  12. the files will be copied to that directory.