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(FLANG_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/flang)
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 ${FLANG_EXPORTS} FILE ${flang_cmake_builddir}/FlangTargets.cmake)
14 # Generate FlangConfig.cmake for the build tree.
17 set(FLANG_CONFIG_EXPORTS_FILE "${flang_cmake_builddir}/FlangTargets.cmake")
23 ${CMAKE_CURRENT_SOURCE_DIR}/FlangConfig.cmake.in
24 ${flang_cmake_builddir}/FlangConfig.cmake
30 # Generate FlangConfig.cmake for the install tree.
32 # Compute the installation prefix from this LLVMConfig.cmake file location.
44 set(FLANG_CONFIG_EXPORTS_FILE "\${FLANG_CMAKE_DIR}/FlangTargets.cmake")
48 ${CMAKE_CURRENT_SOURCE_DIR}/FlangConfig.cmake.in
49 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/FlangConfig.cmake
60 COMPONENT flang-cmake-exports)
64 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/FlangConfig.cmake
66 COMPONENT flang-cmake-exports)
70 add_custom_target(flang-cmake-exports)
71 add_llvm_install_targets(install-flang-cmake-exports
72 COMPONENT flang-cmake-exports)