cmake/Help/prop_tgt/OSX_ARCHITECTURES.rst

12 lines
501 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
OSX_ARCHITECTURES
-----------------
2018-10-28 12:09:07 +01:00
Target specific architectures for macOS.
2014-08-03 19:52:23 +02:00
The ``OSX_ARCHITECTURES`` property sets the target binary architecture for
2018-10-28 12:09:07 +01:00
targets on macOS (``-arch``). This property is initialized by the value of the
2014-08-03 19:52:23 +02:00
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``).