summaryrefslogtreecommitdiffstats
path: root/clang/cmake/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* [cmake] Move creation of ClangTargets and installation of ClangConfig.cmake ↵Michael Gottesman2016-06-291-0/+22
| | | | | | | | from ./CMakeLists.txt -> ./cmake/modules/CMakeLists.txt. This matches LLVM. llvm-svn: 274157
* Add call to find_package to load LLVM dependenciesReid Kleckner2016-02-191-0/+2
| | | | | | | | | | | | | ClangConfig requires LLVMConfig, so add find_package call in ClangConfig so find_package(clang REQUIRED CONFIG) will just work. This makes it easier for cmake based projects to use clang, e.g., tools using ClangTooling. Patch by Don Hinton Differential Revision: http://reviews.llvm.org/D13622 llvm-svn: 261290
* Make it easier to build against a pre-built Clang package with CMakeReid Kleckner2014-11-051-0/+8
Installing <prefix>/share/clang/cmake/ClangConfig.cmake makes CMake's builtin find_package() utility work with Clang. This also allows downstream consumers of Clang to statically link against libraries like clangAST and have that pull in dependencies like clangBasic and LLVMSupport. See the CMake docs on packages: http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html llvm-svn: 221411
OpenPOWER on IntegriCloud