summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst
blob: f8efefbd962f72c7e2bd6e72fe2d4f3c16436f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ARCHIVE_OUTPUT_DIRECTORY
------------------------

Output directory in which to build ARCHIVE target files.

This property specifies the directory into which archive target files
should be built.  Multi-configuration generators (VS, Xcode) append a
per-configuration subdirectory to the specified directory.  There are
three kinds of target files that may be built: archive, library, and
runtime.  Executables are always treated as runtime targets.  Static
libraries are always treated as archive targets.  Module libraries are
always treated as library targets.  For non-DLL platforms shared
libraries are treated as library targets.  For DLL platforms the DLL
part of a shared library is treated as a runtime target and the
corresponding import library is treated as an archive target.  All
Windows-based systems including Cygwin are DLL platforms.  This
property is initialized by the value of the variable
CMAKE_ARCHIVE_OUTPUT_DIRECTORY if it is set when a target is created.