Help: Clarify/make consistent the APPLE, UNIX and WIN32 variable docs

This commit is contained in:
Craig Scott 2017-09-16 23:28:06 +10:00
parent db86cf4e7e
commit 77eb212d07
3 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,5 @@
APPLE
-----
``True`` if running on OS X.
Set to ``true`` on OS X.
Set to ``True`` when the target system is an Apple platform
(macOS, iOS, tvOS or watchOS).

View File

@ -1,7 +1,7 @@
UNIX
----
``True`` for UNIX and UNIX like operating systems.
Set to ``true`` when the target system is UNIX or UNIX like (i.e.
:variable:`APPLE` and :variable:`CYGWIN`).
Set to ``True`` when the target system is UNIX or UNIX-like
(e.g. :variable:`APPLE` and :variable:`CYGWIN`). The
:variable:`CMAKE_SYSTEM_NAME` variable should be queried if
a more specific understanding of the target system is required.

View File

@ -1,6 +1,4 @@
WIN32
-----
``True`` on Windows systems, including Win64.
Set to ``true`` when the target system is Windows.
Set to ``True`` when the target system is Windows, including Win64.