CMakeLists.linux-x86_64.txt 989 B

1234567891011121314151617181920212223242526
  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_library(contrib-libs-expat)
  7. target_compile_options(contrib-libs-expat PRIVATE
  8. -DHAVE_CONFIG_H
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(contrib-libs-expat PRIVATE
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/expat
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib
  14. )
  15. target_link_libraries(contrib-libs-expat PUBLIC
  16. contrib-libs-linux-headers
  17. )
  18. target_sources(contrib-libs-expat PRIVATE
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlparse.c
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlrole.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmltok.c
  22. )