summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHan Sangjin <tinysun@jssolution.co.kr>2016-03-10 04:14:15 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-10 14:35:48 (GMT)
commit517cef8c5579d271f5af16a385ff22bcfe11f222 (patch)
tree52a9b6b02c0305cb860fa46bfbd1d24b8064031e
parent2b64dc7cabb6eda86f0c8b91b27aee4119ac7ebb (diff)
downloadCMake-517cef8c5579d271f5af16a385ff22bcfe11f222.zip
CMake-517cef8c5579d271f5af16a385ff22bcfe11f222.tar.gz
CMake-517cef8c5579d271f5af16a385ff22bcfe11f222.tar.bz2
Cygwin: Add support for Clang compiler
The platform information module for GNU on CYGWIN can be reused for Clang on CYGWIN because clang accepts almost all of the same options.
-rw-r--r--Help/release/dev/cygwin-clang.rst4
-rw-r--r--Modules/Platform/CYGWIN-Clang-C.cmake1
-rw-r--r--Modules/Platform/CYGWIN-Clang-CXX.cmake1
3 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/cygwin-clang.rst b/Help/release/dev/cygwin-clang.rst
new file mode 100644
index 0000000..7d06d2a
--- /dev/null
+++ b/Help/release/dev/cygwin-clang.rst
@@ -0,0 +1,4 @@
+cygwin-clang
+------------
+
+* The Clang compiler is now supported on CYGWIN.
diff --git a/Modules/Platform/CYGWIN-Clang-C.cmake b/Modules/Platform/CYGWIN-Clang-C.cmake
new file mode 100644
index 0000000..e8343a4
--- /dev/null
+++ b/Modules/Platform/CYGWIN-Clang-C.cmake
@@ -0,0 +1 @@
+include(Platform/CYGWIN-GNU-C)
diff --git a/Modules/Platform/CYGWIN-Clang-CXX.cmake b/Modules/Platform/CYGWIN-Clang-CXX.cmake
new file mode 100644
index 0000000..67775de
--- /dev/null
+++ b/Modules/Platform/CYGWIN-Clang-CXX.cmake
@@ -0,0 +1 @@
+include(Platform/CYGWIN-GNU-CXX)