CMakeLists.linux-x86_64.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(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-linux-headers
  15. contrib-libs-cxxsupp
  16. contrib-libs-llvm12
  17. libs-llvm12-include
  18. llvm12-lib-IR
  19. llvm12-lib-Object
  20. llvm12-lib-Support
  21. lib-Transforms-Utils
  22. )
  23. target_sources(llvm12-lib-Linker PRIVATE
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker/IRMover.cpp
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Linker/LinkModules.cpp
  26. )