cmake/Help/prop_tgt/IMPORTED_LOCATION.rst

22 lines
1003 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
IMPORTED_LOCATION
-----------------
Full path to the main file on disk for an IMPORTED target.
Set this to the location of an IMPORTED target file on disk. For
executables this is the location of the executable file. For bundles
2018-10-28 12:09:07 +01:00
on macOS this is the location of the executable file inside
2014-08-03 19:52:23 +02:00
Contents/MacOS under the application bundle folder. For static
libraries and modules this is the location of the library or module.
For shared libraries on non-DLL platforms this is the location of the
2018-10-28 12:09:07 +01:00
shared library. For frameworks on macOS this is the location of the
2014-08-03 19:52:23 +02:00
library file symlink just inside the framework folder. For DLLs this
is the location of the ".dll" part of the library. For UNKNOWN
libraries this is the location of the file to be linked. Ignored for
non-imported targets.
Projects may skip IMPORTED_LOCATION if the configuration-specific
property IMPORTED_LOCATION_<CONFIG> is set. To get the location of an
imported target read one of the LOCATION or LOCATION_<CONFIG>
properties.