IMPORTED_CONFIGURATIONS — CMake 4.4.1 Documentation

# IMPORTED_CONFIGURATIONS

Configurations provided for an imported target.

Set this to the list of configuration names available for an imported target. For each configuration named, the imported target's artifacts must be specified in other target properties:

- `IMPORTED_LOCATION_<CONFIG>`, or

- `IMPORTED_IMPLIB_<CONFIG>` (on DLL platforms, on AIX for Executables or on Apple for Shared Libraries), or

- `IMPORTED_OBJECTS_<CONFIG>` (for Object Libraries), or

- `IMPORTED_LIBNAME_<CONFIG>` (for Interface Libraries).

The configuration names correspond to those defined in the project from which the target is imported. If the importing project uses a different set of configurations, the names may be mapped using the `MAP_IMPORTED_CONFIG_<CONFIG>` target property.

The `IMPORTED_CONFIGURATIONS` property is ignored for non-imported targets.