diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-03 20:57:36 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-03 20:57:36 +0000 |
commit | d538e249224a91f85bd4297c71b2bfa71113a9ad (patch) | |
tree | a0814fc6e53d64a7d02a4e61e77be8620b2c91f2 /cmake/modules/CMakeLists.txt | |
parent | 2dfbb3e9125aa0a66feab7a7638815b57da85968 (diff) | |
download | external_llvm-d538e249224a91f85bd4297c71b2bfa71113a9ad.zip external_llvm-d538e249224a91f85bd4297c71b2bfa71113a9ad.tar.gz external_llvm-d538e249224a91f85bd4297c71b2bfa71113a9ad.tar.bz2 |
Changes for building Clang and others using LLVM as an external
library.
Installs tblgen (required by Clang).
Translates handling of user settings and platform-dependant options to
its own file, where it can included by another project.
Installs the .cmake files required by projects like Clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/CMakeLists.txt')
-rw-r--r-- | cmake/modules/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt index 416d7f4..8448486 100644 --- a/cmake/modules/CMakeLists.txt +++ b/cmake/modules/CMakeLists.txt @@ -10,3 +10,20 @@ install(FILES LLVMConfig.cmake LLVMLibDeps.cmake DESTINATION share/llvm/cmake) + +install(DIRECTORY . + DESTINATION share/llvm/cmake + PATTERN *.cmake + PATTERN LLVM.cmake EXCLUDE + PATTERN LLVMConfig.cmake EXCLUDE + PATTERN LLVMLibDeps.cmake EXCLUDE + PATTERN FindBison.cmake EXCLUDE + PATTERN GetTargetTriple.cmake EXCLUDE + PATTERN VersionFromVCS.cmake EXCLUDE + PATTERN CheckAtomic.cmake EXCLUDE) + +install(FILES + ${llvm_cmake_builddir}/LLVM.cmake + LLVMConfig.cmake + LLVMLibDeps.cmake + DESTINATION share/llvm/cmake) |