llvm-project/libc/lib/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
402 B
CMake
Raw Normal View History

add_entrypoint_library(
${LIBC_TARGET}
DEPENDS
${TARGET_LLVMLIBC_ENTRYPOINTS}
)
if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR)
set(LIBC_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}/${LLVM_DEFAULT_TARGET_TRIPLE})
else()
set(LIBC_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR})
endif()
install(
TARGETS ${LIBC_TARGET}
ARCHIVE DESTINATION "${LIBC_INSTALL_LIBRARY_DIR}"
COMPONENT ${LIBC_COMPONENT}
)