aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/CMakeLists.linux-x86_64.txt
blob: e5d2e1e2813cd05f414ea581d8d343c80d712f6d (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
38
# 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-linux-headers
  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
)