summaryrefslogtreecommitdiff
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-21 13:37:48 -0500
committerBrad King <brad.king@kitware.com>2019-02-25 08:24:28 -0500
commit5c41386357977d931f73e3bb824080af795b3cd5 (patch)
tree45ecef4703540ce639600c28464e5c7313526c0f /Help/manual
parent82782379337fe922f96f4f19b8deae1fab6212fe (diff)
downloadcmake-5c41386357977d931f73e3bb824080af795b3cd5.tar.gz
XLClang: Add policy CMP0089 to present as XL for compatibility
We now identify IBM's Clang-based XL compilers, which define `__ibmxl__`, as `XLClang` rather than `XL`. In order to support existing project code that checks for `XL`, add a policy whose OLD behavior is to present the compiler id as `XL` and whose NEW behavior is to present the compiler id as `XLClang` as we really detect it.
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-policies.7.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 409b5b1c79..9470d6c616 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -51,6 +51,14 @@ The :variable:`CMAKE_MINIMUM_REQUIRED_VERSION` variable may also be used
to determine whether to report an error on use of deprecated macros or
functions.
+Policies Introduced by CMake 3.15
+=================================
+
+.. toctree::
+ :maxdepth: 1
+
+ CMP0089: Compiler id for IBM Clang-based XL compilers is now XLClang. </policy/CMP0089>
+
Policies Introduced by CMake 3.14
=================================