ARCHIVE_OUTPUT_NAME — CMake 3.27.7 Documentation

# ARCHIVE_OUTPUT_NAME

Output name for ARCHIVE target files.

This property specifies the base name for archive target files. It overrides `OUTPUT_NAME` and `OUTPUT_NAME_<CONFIG>` properties.

Note

On macOS, this property will be ignored for the linker import files (e.g. `.tbd` files, see `ENABLE_EXPORTS` property for details) when:

- The `FRAMEWORK` is set, because the framework layout cannot be changed.

- The `Xcode` generator is used, due to the limitations and constraints of the `Xcode` tool.

In both cases, the linker import files will be generated with the same name as the shared library.

See also the `ARCHIVE_OUTPUT_NAME_<CONFIG>` target property.