diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2019-02-05 16:48:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-25 13:24:28 (GMT) |
commit | 90c6156aa8272ec9811647d9b6c87d7ee4326e35 (patch) | |
tree | 752a820e1adbbdd6604c0a39e39ffaf7f32c44bc /Modules/Platform | |
parent | e0231fe439fef3e5f64912f65393e756c4473cc8 (diff) | |
download | CMake-90c6156aa8272ec9811647d9b6c87d7ee4326e35.zip CMake-90c6156aa8272ec9811647d9b6c87d7ee4326e35.tar.gz CMake-90c6156aa8272ec9811647d9b6c87d7ee4326e35.tar.bz2 |
XLClang: Add a new compiler ID for the clang-based XL compiler
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/AIX-XLClang-C.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/AIX-XLClang-CXX.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/AIX-XLClang.cmake | 15 |
3 files changed, 19 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-XLClang-C.cmake b/Modules/Platform/AIX-XLClang-C.cmake new file mode 100644 index 0000000..f0bedc5 --- /dev/null +++ b/Modules/Platform/AIX-XLClang-C.cmake @@ -0,0 +1,2 @@ +include(Platform/AIX-XLClang) +__aix_compiler_xlclang(C) diff --git a/Modules/Platform/AIX-XLClang-CXX.cmake b/Modules/Platform/AIX-XLClang-CXX.cmake new file mode 100644 index 0000000..cceb576 --- /dev/null +++ b/Modules/Platform/AIX-XLClang-CXX.cmake @@ -0,0 +1,2 @@ +include(Platform/AIX-XLClang) +__aix_compiler_xlclang(CXX) diff --git a/Modules/Platform/AIX-XLClang.cmake b/Modules/Platform/AIX-XLClang.cmake new file mode 100644 index 0000000..c932095 --- /dev/null +++ b/Modules/Platform/AIX-XLClang.cmake @@ -0,0 +1,15 @@ +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + + +# This module is shared by multiple languages; use include blocker. +if(__AIX_COMPILER_XLCLANG) + return() +endif() +set(__AIX_COMPILER_XLCLANG 1) + +include(Platform/AIX-XL) + +macro(__aix_compiler_xlclang lang) + __aix_compiler_xl(${lang}) +endmacro() |