CMakeLists.windows-x86_64.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  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(contrib-libs-libunwind)
  7. target_compile_options(contrib-libs-libunwind PUBLIC
  8. -D_libunwind_
  9. )
  10. target_compile_options(contrib-libs-libunwind PRIVATE
  11. -D_LIBUNWIND_IS_NATIVE_ONLY
  12. -fno-exceptions
  13. -fno-rtti
  14. -funwind-tables
  15. )
  16. target_include_directories(contrib-libs-libunwind PRIVATE
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
  18. )
  19. target_link_libraries(contrib-libs-libunwind PUBLIC
  20. cpp-sanitizer-include
  21. )
  22. target_sources(contrib-libs-libunwind PRIVATE
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-sjlj.c
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1-gcc-ext.c
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1.c
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersRestore.S
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersSave.S
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/libunwind.cpp
  31. )