IMPORTED_TARGETS — CMake 4.3.0 Documentation

# IMPORTED_TARGETS

Added in version 3.21.

This read-only directory property contains a semicolon-separated list of Imported Targets added in the directory by calls to the `add_library()` and `add_executable()` commands. Each entry in the list is the logical name of a target, suitable to pass to the `get_property()` command `TARGET` option when called in the same directory.

See also the `BUILDSYSTEM_TARGETS` directory property.