2010-09-13 23:59:48 +00:00
|
|
|
set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake")
|
2010-08-09 03:26:43 +00:00
|
|
|
|
2011-02-18 22:06:14 +00:00
|
|
|
get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS)
|
|
|
|
|
2010-08-09 03:26:43 +00:00
|
|
|
configure_file(
|
2010-09-13 23:59:48 +00:00
|
|
|
LLVM.cmake
|
|
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
|
|
|
@ONLY)
|
2010-08-09 03:26:43 +00:00
|
|
|
|
|
|
|
install(FILES
|
2010-09-13 23:59:48 +00:00
|
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
2011-04-05 17:02:48 +00:00
|
|
|
LLVM-Config.cmake
|
2010-09-13 23:59:48 +00:00
|
|
|
LLVMLibDeps.cmake
|
|
|
|
DESTINATION share/llvm/cmake)
|
2011-02-03 20:57:36 +00:00
|
|
|
|
|
|
|
install(DIRECTORY .
|
|
|
|
DESTINATION share/llvm/cmake
|
2011-02-07 02:22:23 +00:00
|
|
|
FILES_MATCHING PATTERN *.cmake
|
|
|
|
PATTERN .svn EXCLUDE
|
2011-02-03 20:57:36 +00:00
|
|
|
PATTERN LLVM.cmake EXCLUDE
|
2011-04-05 17:02:48 +00:00
|
|
|
PATTERN LLVM-Config.cmake EXCLUDE
|
2011-02-03 20:57:36 +00:00
|
|
|
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
|
2011-04-05 17:02:48 +00:00
|
|
|
LLVM-Config.cmake
|
2011-02-03 20:57:36 +00:00
|
|
|
LLVMLibDeps.cmake
|
|
|
|
DESTINATION share/llvm/cmake)
|