CMakeLists.linux-aarch64.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_subdirectory(pcre16)
  7. add_subdirectory(pcre32)
  8. add_library(contrib-libs-pcre)
  9. target_compile_options(contrib-libs-pcre PUBLIC
  10. -DPCRE_STATIC
  11. )
  12. target_compile_options(contrib-libs-pcre PRIVATE
  13. -DHAVE_CONFIG_H
  14. -DARCADIA_PCRE_ENABLE_JIT
  15. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  16. )
  17. target_include_directories(contrib-libs-pcre PRIVATE
  18. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre
  19. )
  20. target_link_libraries(contrib-libs-pcre PUBLIC
  21. contrib-libs-linux-headers
  22. )
  23. target_sources(contrib-libs-pcre PRIVATE
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_byte_order.c
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_chartables.c
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_compile.c
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_config.c
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_dfa_exec.c
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_exec.c
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_fullinfo.c
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_get.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_globals.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_jit_compile.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_maketables.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_newline.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_ord2utf8.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_refcount.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_string_utils.c
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_study.c
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_tables.c
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_ucd.c
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_valid_utf8.c
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_version.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcre_xclass.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/pcre/pcreposix.c
  46. )