CMakeLists.linux-aarch64.txt 1.0 KB

123456789101112131415161718192021222324252627282930
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_library(llvm14-lib-Linker)
  7. target_compile_options(llvm14-lib-Linker PRIVATE
  8. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  9. )
  10. target_include_directories(llvm14-lib-Linker PRIVATE
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm14/lib/Linker
  12. )
  13. target_link_libraries(llvm14-lib-Linker PUBLIC
  14. contrib-libs-linux-headers
  15. contrib-libs-cxxsupp
  16. contrib-libs-llvm14
  17. libs-llvm14-include
  18. llvm14-lib-IR
  19. llvm14-lib-Object
  20. llvm14-lib-Support
  21. lib-Transforms-Utils
  22. )
  23. target_sources(llvm14-lib-Linker PRIVATE
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm14/lib/Linker/IRMover.cpp
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm14/lib/Linker/LinkModules.cpp
  26. )