CMakeLists.windows-x86_64.txt 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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(Iconv REQUIRED)
  7. find_package(ZLIB REQUIRED)
  8. add_library(contrib-libs-libxml)
  9. target_compile_options(contrib-libs-libxml PUBLIC
  10. -DLIBXML_STATIC
  11. )
  12. target_compile_options(contrib-libs-libxml PRIVATE
  13. -DHAVE_CONFIG_H
  14. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  15. )
  16. target_include_directories(contrib-libs-libxml PUBLIC
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/include
  18. )
  19. target_include_directories(contrib-libs-libxml PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml
  21. )
  22. target_link_libraries(contrib-libs-libxml PUBLIC
  23. contrib-libs-cxxsupp
  24. yutil
  25. Iconv::Iconv
  26. ZLIB::ZLIB
  27. library-cpp-charset
  28. )
  29. target_sources(contrib-libs-libxml PRIVATE
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/HTMLparser.c
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/HTMLtree.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/SAX.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/SAX2.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/buf.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/c14n.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/catalog.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/chvalid.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/debugXML.c
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/dict.c
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/encoding.c
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/entities.c
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/error.c
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/globals.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/hash.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/legacy.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/list.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/nanoftp.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/nanohttp.c
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/parser.c
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/parserInternals.c
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/pattern.c
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/relaxng.c
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/schematron.c
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/threads.c
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/tree.c
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/uri.c
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/valid.c
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xinclude.c
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xlink.c
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlIO.c
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlmemory.c
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlmodule.c
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlreader.c
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlregexp.c
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlsave.c
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlschemas.c
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlschemastypes.c
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlstring.c
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlunicode.c
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlwriter.c
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xpath.c
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xpointer.c
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xzlib.c
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/yencoding.cpp
  75. )