summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/OSX_ARCHITECTURES.rst
blob: 996a4be7215fa943d312656da30343881b827bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
OSX_ARCHITECTURES
-----------------

Target specific architectures for macOS.

The ``OSX_ARCHITECTURES`` property sets the target binary architecture for
targets on macOS (``-arch``).  This property is initialized by the value of the
variable :variable:`CMAKE_OSX_ARCHITECTURES` if it is set when a target is
created.  Use :prop_tgt:`OSX_ARCHITECTURES_<CONFIG>` to set the binary
architectures on a per-configuration basis, where ``<CONFIG>`` is an
upper-case name (e.g. ``OSX_ARCHITECTURES_DEBUG``).