aboutsummaryrefslogtreecommitdiffstats
path: root/util/charset/CMakeLists.txt
blob: 6048e1d3757590e8a2ffdc2bc39993ebec6a33ee (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
# This file was gererated 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.



add_library(util-charset)
target_link_libraries(util-charset PUBLIC
  contrib-libs-cxxsupp
)
target_sources(util-charset PRIVATE
  ${CMAKE_SOURCE_DIR}/util/charset/wide_sse41.cpp
)
set_property(
  SOURCE
  ${CMAKE_SOURCE_DIR}/util/charset/wide_sse41.cpp
  APPEND
  PROPERTY
  COMPILE_OPTIONS
  -msse4.1
)
target_joined_source(util-charset
  all_charset.cpp
  ${CMAKE_SOURCE_DIR}/util/charset/generated/unidata.cpp
  ${CMAKE_SOURCE_DIR}/util/charset/recode_result.cpp
  ${CMAKE_SOURCE_DIR}/util/charset/unicode_table.cpp
  ${CMAKE_SOURCE_DIR}/util/charset/unidata.cpp
  ${CMAKE_SOURCE_DIR}/util/charset/utf8.cpp
  ${CMAKE_SOURCE_DIR}/util/charset/wide.cpp
)