summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorWu Zhao <wuzhaozju@gmail.com>2016-06-20 06:51:37 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-20 13:59:31 (GMT)
commit5cc34162ad5d0ca174b44d37bcc32b7f4aa00a33 (patch)
tree3a3a4d8f0e4cf8bf6def9ffe5331fb2ca30a723d /Modules
parentf4c35c3dc2cd7204fc680d39a5c2f186f0badd6a (diff)
downloadCMake-5cc34162ad5d0ca174b44d37bcc32b7f4aa00a33.zip
CMake-5cc34162ad5d0ca174b44d37bcc32b7f4aa00a33.tar.gz
CMake-5cc34162ad5d0ca174b44d37bcc32b7f4aa00a33.tar.bz2
AIX: Add support for Clang compiler
The platform information module for GNU on AIX can be reused for Clang on AIX because clang accepts almost all of the same options.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/AIX-Clang-C.cmake1
-rw-r--r--Modules/Platform/AIX-Clang-CXX.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-Clang-C.cmake b/Modules/Platform/AIX-Clang-C.cmake
new file mode 100644
index 0000000..0e8a1c0
--- /dev/null
+++ b/Modules/Platform/AIX-Clang-C.cmake
@@ -0,0 +1 @@
+include(Platform/AIX-GNU-C)
diff --git a/Modules/Platform/AIX-Clang-CXX.cmake b/Modules/Platform/AIX-Clang-CXX.cmake
new file mode 100644
index 0000000..6b9110e
--- /dev/null
+++ b/Modules/Platform/AIX-Clang-CXX.cmake
@@ -0,0 +1 @@
+include(Platform/AIX-GNU-CXX)