CMakeLists.linux-aarch64.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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(libs-cxxsupp-libcxxabi-parts)
  7. target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
  8. -nostdinc++
  9. )
  10. target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
  11. -D_LIBCXXABI_BUILDING_LIBRARY
  12. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  13. )
  14. target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
  15. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx
  18. )
  19. target_link_libraries(libs-cxxsupp-libcxxabi-parts PUBLIC
  20. contrib-libs-linux-headers
  21. )
  22. target_sources(libs-cxxsupp-libcxxabi-parts PRIVATE
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp
  26. )
  27. set_property(
  28. SOURCE
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp
  30. APPEND
  31. PROPERTY
  32. COMPILE_OPTIONS
  33. -fno-lto
  34. )