Output directory in which to build ARCHIVE target files.
This property specifies the directory into which archive target files
should be built. The property value may use
Multi-configuration generators (Visual Studio,
Ninja Multi-Config) append a
per-configuration subdirectory to the specified directory unless a generator
expression is used.
This property is initialized by the value of the
CMAKE_ARCHIVE_OUTPUT_DIRECTORY variable if it is set when a target is created.
On macOS, this property will be ignored for the linker import files (e.g.
.tbd files, see
ENABLE_EXPORTS property for details) when:
FRAMEWORKis set, because the framework layout cannot be changed.
Xcodegenerator is used, due to the limitations and constraints of the
In both cases, the linker import files will be generated in the same directory as the shared library.
See also the
ARCHIVE_OUTPUT_DIRECTORY_<CONFIG> target property.