CMakeLists.windows-x86_64.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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_BINARY_DIR}/library/cpp/tld/tld.inc
  15. ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
  16. ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
  17. )
  18. add_custom_command(
  19. OUTPUT
  20. ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
  21. DEPENDS
  22. ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
  23. ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
  24. COMMAND
  25. Python3::Interpreter
  26. ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
  27. ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
  28. >
  29. tld.inc
  30. )