From 517cef8c5579d271f5af16a385ff22bcfe11f222 Mon Sep 17 00:00:00 2001 From: Han Sangjin Date: Thu, 10 Mar 2016 13:14:15 +0900 Subject: [PATCH] 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. --- Help/release/dev/cygwin-clang.rst | 4 ++++ Modules/Platform/CYGWIN-Clang-C.cmake | 1 + Modules/Platform/CYGWIN-Clang-CXX.cmake | 1 + 3 files changed, 6 insertions(+) create mode 100644 Help/release/dev/cygwin-clang.rst create mode 100644 Modules/Platform/CYGWIN-Clang-C.cmake create mode 100644 Modules/Platform/CYGWIN-Clang-CXX.cmake diff --git a/Help/release/dev/cygwin-clang.rst b/Help/release/dev/cygwin-clang.rst new file mode 100644 index 000000000..7d06d2a26 --- /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 000000000..e8343a442 --- /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 000000000..67775deab --- /dev/null +++ b/Modules/Platform/CYGWIN-Clang-CXX.cmake @@ -0,0 +1 @@ +include(Platform/CYGWIN-GNU-CXX)