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

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
)