Move add_clang_* entry points from the main clang CMakeLists.txt to cmake/modules...
authorMichael Gottesman <mgottesman@apple.com>
Sat, 9 Jul 2016 21:58:40 +0000 (21:58 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sat, 9 Jul 2016 21:58:40 +0000 (21:58 +0000)
commitca589ccb02b8834506f5d93fa60689c3d195c37b
tree8fa6e56f5ce6cfb947f11c72e4ecda0b0145d022
parent58fab355e2606a2c376b01b2a4b949897611ed0f
Move add_clang_* entry points from the main clang CMakeLists.txt to cmake/modules/AddClang.cmake.

This matches how LLVM has its cmake files organized and is cleaner than just
shoving this business logic into the main CMakeLists.txt.

llvm-svn: 274992
clang/CMakeLists.txt
clang/cmake/modules/AddClang.cmake [new file with mode: 0644]