aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/CMakeLists.darwin.txt
blob: f4437a0a2b4d08fc22719298c5a0a24f6bfc12fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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(IDN REQUIRED)

add_library(library-cpp-uri)
target_link_libraries(library-cpp-uri PUBLIC
  contrib-libs-cxxsupp
  yutil
  IDN::IDN
  library-cpp-charset
)
target_sources(library-cpp-uri PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/assign.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/common.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/encode.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/location.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/other.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/parse.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/qargs.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/uri.cpp
)
target_ragel_lexers(library-cpp-uri
  PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/encodefsm.rl6
  -CG2
)
target_ragel_lexers(library-cpp-uri
  PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/uri/parsefsm.rl6
  -CG2
)