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(CLANG_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/clang)
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 ${CLANG_EXPORTS} FILE ${clang_cmake_builddir}/ClangTargets.cmake)
14 # Generate ClangConfig.cmake for the build tree.
17 set(CLANG_CONFIG_EXPORTS_FILE "${clang_cmake_builddir}/ClangTargets.cmake")
23 ${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake.in
24 ${clang_cmake_builddir}/ClangConfig.cmake
30 # Generate ClangConfig.cmake for the install tree.
32 # Compute the installation prefix from this LLVMConfig.cmake file location.
43 set(CLANG_CONFIG_EXPORTS_FILE "\${CLANG_CMAKE_DIR}/ClangTargets.cmake")
48 ${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake.in
49 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClangConfig.cmake
59 COMPONENT clang-cmake-exports)
63 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClangConfig.cmake
65 COMPONENT clang-cmake-exports)
69 add_custom_target(clang-cmake-exports)
70 add_llvm_install_targets(install-clang-cmake-exports
71 COMPONENT clang-cmake-exports)