1IMPORTED_LOCATION 2----------------- 3 4Full path to the main file on disk for an ``IMPORTED`` target. 5 6Set this to the location of an ``IMPORTED`` target file on disk. For 7executables this is the location of the executable file. For ``STATIC`` 8libraries and modules this is the location of the library or module. 9For ``SHARED`` libraries on non-DLL platforms this is the location of the 10shared library. For application bundles on macOS this is the location of 11the executable file inside ``Contents/MacOS`` within the bundle folder. 12For frameworks on macOS this is the location of the 13library file symlink just inside the framework folder. For DLLs this 14is the location of the ``.dll`` part of the library. For ``UNKNOWN`` 15libraries this is the location of the file to be linked. Ignored for 16non-imported targets. 17 18The ``IMPORTED_LOCATION`` target property may be overridden for a 19given configuration ``<CONFIG>`` by the configuration-specific 20:prop_tgt:`IMPORTED_LOCATION_<CONFIG>` target property. Furthermore, 21the :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` target property may be 22used to map between a project's configurations and those of an imported 23target. If none of these is set then the name of any other configuration 24listed in the :prop_tgt:`IMPORTED_CONFIGURATIONS` target property may be 25selected and its :prop_tgt:`IMPORTED_LOCATION_<CONFIG>` value used. 26 27To get the location of an imported target read one of the :prop_tgt:`LOCATION` 28or ``LOCATION_<CONFIG>`` properties. 29 30For platforms with import libraries (e.g. Windows) see also 31:prop_tgt:`IMPORTED_IMPLIB`. 32