aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/CMakeLists.txt
blob: 6cadbc7418b9a202eeb4a8f1f35dc6035e3afdc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
find_package(Iconv)

add_library(library-cpp-charset)
target_link_libraries(library-cpp-charset PUBLIC
  contrib-libs-cxxsupp
  yutil
  Iconv::Iconv
)
target_sources(library-cpp-charset PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/cp_data.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/encrec_data.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/codepage.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/cp_encrec.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/doccodes.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/iconv.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/ci_string.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/charset/wide.cpp
)