cmake/Help/variable/CMAKE_OSX_VARIABLE.txt

12 lines
569 B
Plaintext
Raw Normal View History

2014-08-03 19:52:23 +02:00
The value of this variable should be set prior to the first
:command:`project` or :command:`enable_language` command invocation
because it may influence configuration of the toolchain and flags.
It is intended to be set locally by the user creating a build tree.
2018-10-28 12:09:07 +01:00
This variable should be set as a ``CACHE`` entry (or else CMake may
remove it while initializing a cache entry of the same name).
2014-08-03 19:52:23 +02:00
2018-04-23 21:13:27 +02:00
Despite the ``OSX`` part in the variable name(s) they apply also to
other SDKs than macOS like iOS, tvOS, or watchOS.
This variable is ignored on platforms other than Apple.