ya.make 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(BSL-1.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(1.87.0)
  6. ORIGINAL_SOURCE(https://github.com/boostorg/regex/archive/boost-1.87.0.tar.gz)
  7. PEERDIR(
  8. contrib/libs/icu
  9. contrib/restricted/boost/assert
  10. contrib/restricted/boost/config
  11. contrib/restricted/boost/predef
  12. contrib/restricted/boost/throw_exception
  13. )
  14. ADDINCL(
  15. GLOBAL contrib/restricted/boost/regex/include
  16. )
  17. NO_COMPILER_WARNINGS()
  18. NO_UTIL()
  19. CFLAGS(
  20. -DBOOST_HAS_ICU
  21. -DBOOST_NO_CXX98_BINDERS
  22. -DBOOST_REGEX_STANDALONE
  23. )
  24. IF (DYNAMIC_BOOST)
  25. CFLAGS(
  26. GLOBAL -DBOOST_REGEX_DYN_LINK
  27. )
  28. ENDIF()
  29. IF (OS_WINDOWS)
  30. CFLAGS(
  31. GLOBAL -DBOOST_REGEX_USE_CPP_LOCALE
  32. )
  33. ENDIF()
  34. SRCS(
  35. src/posix_api.cpp
  36. src/regex.cpp
  37. src/regex_debug.cpp
  38. src/static_mutex.cpp
  39. src/wide_posix_api.cpp
  40. )
  41. END()