CMakeLists.windows-x86_64.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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(restricted-boost-regex)
  7. target_compile_options(restricted-boost-regex PUBLIC
  8. -DBOOST_REGEX_USE_CPP_LOCALE
  9. )
  10. target_compile_options(restricted-boost-regex PRIVATE
  11. -DBOOST_HAS_ICU
  12. -DBOOST_NO_CXX98_BINDERS
  13. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  14. )
  15. target_include_directories(restricted-boost-regex PUBLIC
  16. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include
  17. )
  18. target_link_libraries(restricted-boost-regex PUBLIC
  19. contrib-libs-cxxsupp
  20. contrib-libs-icu
  21. restricted-boost-assert
  22. restricted-boost-concept_check
  23. restricted-boost-config
  24. restricted-boost-container_hash
  25. restricted-boost-core
  26. restricted-boost-integer
  27. restricted-boost-mpl
  28. restricted-boost-predef
  29. restricted-boost-smart_ptr
  30. restricted-boost-static_assert
  31. restricted-boost-throw_exception
  32. restricted-boost-type_traits
  33. )
  34. target_sources(restricted-boost-regex PRIVATE
  35. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/posix_api.cpp
  36. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/regex.cpp
  37. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/regex_debug.cpp
  38. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/static_mutex.cpp
  39. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/wide_posix_api.cpp
  40. )