Lines Matching refs:cmake
2 # link against them. LLVM calls its version of this file LLVMExports.cmake, but
3 # the usual CMake convention seems to be ${Project}Targets.cmake.
4 set(LLD_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/lld)
7 # Keep this in sync with llvm/cmake/CMakeLists.txt!
8 set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)
12 export(TARGETS ${LLD_EXPORTS} FILE ${lld_cmake_builddir}/LLDTargets.cmake)
14 # Generate LLDConfig.cmake for the build tree.
17 set(LLD_CONFIG_EXPORTS_FILE "${lld_cmake_builddir}/LLDTargets.cmake")
23 ${CMAKE_CURRENT_SOURCE_DIR}/LLDConfig.cmake.in
24 ${lld_cmake_builddir}/LLDConfig.cmake
30 # Generate LLDConfig.cmake for the install tree.
32 # Compute the installation prefix from this LLVMConfig.cmake file location.
43 set(LLD_CONFIG_EXPORTS_FILE "\${LLD_CMAKE_DIR}/LLDTargets.cmake")
46 ${CMAKE_CURRENT_SOURCE_DIR}/LLDConfig.cmake.in
47 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLDConfig.cmake
57 COMPONENT lld-cmake-exports)
61 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLDConfig.cmake
63 COMPONENT lld-cmake-exports)
67 add_custom_target(lld-cmake-exports)
68 add_llvm_install_targets(install-lld-cmake-exports
69 COMPONENT lld-cmake-exports)