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(MLIR_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/mlir)
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 ${MLIR_EXPORTS} FILE ${mlir_cmake_builddir}/MLIRTargets.cmake)
19 # Generate MlirConfig.cmake for the build tree.
22 set(MLIR_CONFIG_EXPORTS_FILE "\${MLIR_CMAKE_DIR}/MLIRTargets.cmake")
28 ${CMAKE_CURRENT_SOURCE_DIR}/MLIRConfig.cmake.in
29 ${mlir_cmake_builddir}/MLIRConfig.cmake
41 FILES_MATCHING PATTERN *.cmake
45 # Generate MLIRConfig.cmake for the install tree.
47 # Compute the installation prefix from this MLIRConfig.cmake file location.
58 set(MLIR_CONFIG_EXPORTS_FILE "\${MLIR_CMAKE_DIR}/MLIRTargets.cmake")
63 ${CMAKE_CURRENT_SOURCE_DIR}/MLIRConfig.cmake.in
64 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/MLIRConfig.cmake
74 # Include the cmake files so other tools can use mlir-tblgen, etc.
78 COMPONENT mlir-cmake-exports)
82 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/MLIRConfig.cmake
83 ${CMAKE_CURRENT_SOURCE_DIR}/AddMLIR.cmake
85 COMPONENT mlir-cmake-exports)
89 add_custom_target(mlir-cmake-exports)
90 add_llvm_install_targets(install-mlir-cmake-exports
91 COMPONENT mlir-cmake-exports)