cmake/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst

15 lines
642 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
IMPORTED_LINK_INTERFACE_LANGUAGES
---------------------------------
2019-11-11 23:01:05 +01:00
Languages compiled into an ``IMPORTED`` static library.
2014-08-03 19:52:23 +02:00
Set this to the list of languages of source files compiled to produce
2019-11-11 23:01:05 +01:00
a ``STATIC IMPORTED`` library (such as ``C`` or ``CXX``). CMake accounts for
2014-08-03 19:52:23 +02:00
these languages when computing how to link a target to the imported
library. For example, when a C executable links to an imported C++
static library CMake chooses the C++ linker to satisfy language
runtime dependencies of the static library.
2019-11-11 23:01:05 +01:00
This property is ignored for targets that are not ``STATIC`` libraries.
2014-08-03 19:52:23 +02:00
This property is ignored for non-imported targets.