summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Clang-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-19 18:04:13 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-19 18:06:28 (GMT)
commit6e34aea93c71e3ac1667f93357695551e2ced09d (patch)
tree7770ccc6e7d52a62ed3adac5899449c8e1d1e04b /Modules/Compiler/Clang-CXX.cmake
parent8fc88b7eb0a46544c7a6815181bd5899231c2129 (diff)
downloadCMake-6e34aea93c71e3ac1667f93357695551e2ced09d.zip
CMake-6e34aea93c71e3ac1667f93357695551e2ced09d.tar.gz
CMake-6e34aea93c71e3ac1667f93357695551e2ced09d.tar.bz2
Clang: Split Compiler/Clang* modules out from GNU (#13550)
While Clang presents an almost identical interface to GNU there will be some differences. Split the compiler information modules to allow separate rules for Clang. Start by loading the GNU rules but leave a place to add Clang-specific information.
Diffstat (limited to 'Modules/Compiler/Clang-CXX.cmake')
-rw-r--r--Modules/Compiler/Clang-CXX.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake
index d3c403a..486e2af 100644
--- a/Modules/Compiler/Clang-CXX.cmake
+++ b/Modules/Compiler/Clang-CXX.cmake
@@ -1 +1,2 @@
-include(Compiler/GNU-CXX)
+include(Compiler/Clang)
+__compiler_clang(CXX)