IMPORTED_LINK_INTERFACE_LANGUAGES.rst 642 B

1234567891011121314
  1. IMPORTED_LINK_INTERFACE_LANGUAGES
  2. ---------------------------------
  3. Languages compiled into an ``IMPORTED`` static library.
  4. Set this to the list of languages of source files compiled to produce
  5. a ``STATIC IMPORTED`` library (such as ``C`` or ``CXX``). CMake accounts for
  6. these languages when computing how to link a target to the imported
  7. library. For example, when a C executable links to an imported C++
  8. static library CMake chooses the C++ linker to satisfy language
  9. runtime dependencies of the static library.
  10. This property is ignored for targets that are not ``STATIC`` libraries.
  11. This property is ignored for non-imported targets.