CMakeLists.linux.txt 886 B

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(archiver)
  7. target_link_libraries(archiver PUBLIC
  8. contrib-libs-linux-headers
  9. contrib-libs-cxxsupp
  10. yutil
  11. cpp-malloc-tcmalloc
  12. libs-tcmalloc-no_percpu_cache
  13. library-cpp-cpuid_check
  14. library-cpp-archive
  15. cpp-digest-md5
  16. cpp-getopt-small
  17. )
  18. target_link_options(archiver PRIVATE
  19. -ldl
  20. -lrt
  21. -Wl,--no-as-needed
  22. -fPIC
  23. -fPIC
  24. -lpthread
  25. -lrt
  26. -ldl
  27. )
  28. target_sources(archiver PRIVATE
  29. ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp
  30. )
  31. vcs_info(archiver)