[CMake] Revive LLVM_*_DIRS variables
authorChris Bieneman <beanz@apple.com>
Thu, 1 Sep 2016 16:43:39 +0000 (16:43 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 1 Sep 2016 16:43:39 +0000 (16:43 +0000)
commitbe765196fa781b81cf61e09f7c0cfc0a829fc867
tree6913d10d8fa7f38d583dd8bce96b0f9c0694aa43
parentfcb186ca9d4f6196190d22ffff8e3dbd488c30fc
[CMake] Revive LLVM_*_DIRS variables

This is a partial revert of r280013. Brad King pointed out these variable names are matching CMake conventions, so we should preserve them.

I've also added a direct mapping of the LLVM_*_DIR variables which we need to make projects support building in and out of tree.

llvm-svn: 280380
llvm/cmake/modules/LLVMConfig.cmake.in
llvm/docs/CMake.rst