summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_OSX_ARCHITECTURES.rst
blob: 3e9e4275e9914f57b4f378944a17a573a75cf9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CMAKE_OSX_ARCHITECTURES
-----------------------

Target specific architectures for macOS and iOS.

This variable is used to initialize the :prop_tgt:`OSX_ARCHITECTURES`
property on each target as it is created.  See that target property
for additional information.

If ``CMAKE_OSX_ARCHITECTURES`` is not set, the compiler's default target
architecture is used.  For compilers provided by Xcode, this is the host
machine's architecture.

.. include:: include/CMAKE_OSX_VARIABLE.rst