mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
d538e24922
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
30 lines
702 B
CMake
30 lines
702 B
CMake
set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake")
|
|
|
|
configure_file(
|
|
LLVM.cmake
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
|
@ONLY)
|
|
|
|
install(FILES
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
|
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)
|