aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/urlnorm/CMakeLists.linux-aarch64.txt
blob: d365d758ea0ab740eb2bb1ed04333b323b2ceea7 (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
39
40
# 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.


get_built_tool_path(
  TOOL_ragel5_bin
  TOOL_ragel5_dependency
  contrib/tools/ragel5/ragel
  ragel5
)
get_built_tool_path(
  TOOL_rlgen-cd_bin
  TOOL_rlgen-cd_dependency
  contrib/tools/ragel5/rlgen-cd
  rlgen-cd
)

add_library(kernel-urlnorm)
target_link_libraries(kernel-urlnorm PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  library-cpp-cgiparam
  cpp-digest-md5
  cpp-string_utils-base64
  cpp-string_utils-quote
  cpp-string_utils-url
  library-cpp-uri
)
target_sources(kernel-urlnorm PRIVATE
  ${CMAKE_SOURCE_DIR}/kernel/urlnorm/host.cpp
  ${CMAKE_SOURCE_DIR}/kernel/urlnorm/normalize.cpp
  ${CMAKE_SOURCE_DIR}/kernel/urlnorm/urlnorm.cpp
  ${CMAKE_SOURCE_DIR}/kernel/urlnorm/validate.cpp
  ${CMAKE_BINARY_DIR}/kernel/urlnorm/urlhashval.rl5.cpp
)