CMakeLists.darwin-x86_64.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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. find_package(Python3 REQUIRED)
  7. add_library(library-cpp-tld)
  8. target_link_libraries(library-cpp-tld PUBLIC
  9. contrib-libs-cxxsupp
  10. yutil
  11. cpp-digest-lower_case
  12. )
  13. target_sources(library-cpp-tld PRIVATE
  14. ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
  15. ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
  16. )
  17. add_custom_command(
  18. OUTPUT
  19. ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
  20. DEPENDS
  21. ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
  22. ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
  23. COMMAND
  24. Python3::Interpreter
  25. ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
  26. ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
  27. >
  28. tld.inc
  29. )