12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- # This file was generated by the build system used internally in the Yandex monorepo.
- # Only simple modifications are allowed (adding source-files to targets, adding simple properties
- # like target_include_directories). These modifications will be ported to original
- # ya.make files by maintainers. Any complex modifications which can't be ported back to the
- # original buildsystem will not be accepted.
- find_package(Iconv REQUIRED)
- find_package(ZLIB REQUIRED)
- add_library(contrib-libs-libxml)
- target_compile_options(contrib-libs-libxml PUBLIC
- -DLIBXML_STATIC
- )
- target_compile_options(contrib-libs-libxml PRIVATE
- -DHAVE_CONFIG_H
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(contrib-libs-libxml PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/include
- )
- target_include_directories(contrib-libs-libxml PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml
- )
- target_link_libraries(contrib-libs-libxml PUBLIC
- contrib-libs-cxxsupp
- yutil
- Iconv::Iconv
- ZLIB::ZLIB
- library-cpp-charset
- )
- target_sources(contrib-libs-libxml PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/HTMLparser.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/HTMLtree.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/SAX.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/SAX2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/buf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/c14n.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/catalog.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/chvalid.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/debugXML.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/dict.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/encoding.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/entities.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/error.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/globals.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/hash.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/legacy.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/list.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/nanoftp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/nanohttp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/parser.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/parserInternals.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/pattern.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/relaxng.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/schematron.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/threads.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/tree.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/uri.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/valid.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xinclude.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xlink.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlIO.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlmemory.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlmodule.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlreader.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlregexp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlsave.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlschemas.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlschemastypes.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlstring.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlunicode.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xmlwriter.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xpath.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xpointer.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/xzlib.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libxml/yencoding.cpp
- )
|