CMakeLists.darwin-x86_64.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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_sources(libs-cxxsupp-libcxxabi-parts PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/abort_message.cpp
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_demangle.cpp
  23. )
  24. set_property(
  25. SOURCE
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/src/cxa_thread_atexit.cpp
  27. APPEND
  28. PROPERTY
  29. COMPILE_OPTIONS
  30. -fPIC
  31. -fno-lto
  32. )