CMakeLists.darwin-x86_64.txt 1020 B

1234567891011121314151617181920212223242526272829
  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(llvm12-lib-Linker)
  7. target_compile_options(llvm12-lib-Linker PRIVATE
  8. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  9. )
  10. target_include_directories(llvm12-lib-Linker PRIVATE
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker
  12. )
  13. target_link_libraries(llvm12-lib-Linker PUBLIC
  14. contrib-libs-cxxsupp
  15. contrib-libs-llvm12
  16. libs-llvm12-include
  17. llvm12-lib-IR
  18. llvm12-lib-Object
  19. llvm12-lib-Support
  20. lib-Transforms-Utils
  21. )
  22. target_sources(llvm12-lib-Linker PRIVATE
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker/IRMover.cpp
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker/LinkModules.cpp
  25. )