CMakeLists.darwin-x86_64.txt 903 B

12345678910111213141516171819202122232425262728293031
  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_executable(protoc)
  7. target_compile_options(protoc PRIVATE
  8. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  9. )
  10. target_link_libraries(protoc PUBLIC
  11. contrib-libs-cxxsupp
  12. yutil
  13. library-cpp-cpuid_check
  14. contrib-libs-protoc
  15. )
  16. target_link_options(protoc PRIVATE
  17. -Wl,-platform_version,macos,11.0,11.0
  18. -fPIC
  19. -fPIC
  20. )
  21. target_sources(protoc PRIVATE
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc
  23. )
  24. target_allocator(protoc
  25. system_allocator
  26. )
  27. vcs_info(protoc)