CMakeLists.linux-x86_64.txt 1.0 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_executable(cpp_styleguide)
  7. target_compile_options(cpp_styleguide PRIVATE
  8. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  9. )
  10. target_link_libraries(cpp_styleguide PUBLIC
  11. contrib-libs-linux-headers
  12. contrib-libs-cxxsupp
  13. yutil
  14. library-cpp-cpuid_check
  15. contrib-libs-protoc
  16. )
  17. target_link_options(cpp_styleguide PRIVATE
  18. -ldl
  19. -lrt
  20. -Wl,--no-as-needed
  21. -fPIC
  22. -fPIC
  23. )
  24. target_sources(cpp_styleguide PRIVATE
  25. ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp
  26. )
  27. target_allocator(cpp_styleguide
  28. cpp-malloc-tcmalloc
  29. libs-tcmalloc-no_percpu_cache
  30. )
  31. vcs_info(cpp_styleguide)