summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Clang-C.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-05-17 18:11:20 (GMT)
committerBrad King <brad.king@kitware.com>2010-05-17 18:11:20 (GMT)
commit571dc7489111893355deba710feee5990bce92e4 (patch)
tree11d48c783134fd52b2e80bf00b3a6983fbe1c1f4 /Modules/Compiler/Clang-C.cmake
parente6cd880381ec536be277da3b590b5f326b848e1f (diff)
downloadCMake-571dc7489111893355deba710feee5990bce92e4.zip
CMake-571dc7489111893355deba710feee5990bce92e4.tar.gz
CMake-571dc7489111893355deba710feee5990bce92e4.tar.bz2
Recognize Clang C and C++ compilers (see #10693)
Map to the platform and compiler information for GNU because the compilers are command-line compatible for common operations. Later we can add Clang-specific features as necessary. We honor the preferred capitalization is "Clang", not the common mis-spelling "CLang".
Diffstat (limited to 'Modules/Compiler/Clang-C.cmake')
-rw-r--r--Modules/Compiler/Clang-C.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/Clang-C.cmake b/Modules/Compiler/Clang-C.cmake
new file mode 100644
index 0000000..f7baf68
--- /dev/null
+++ b/Modules/Compiler/Clang-C.cmake
@@ -0,0 +1 @@
+include(Compiler/GNU-C)