Files
AVA2/shared/codepage/CMakeLists.txt
T

9 lines
573 B
CMake

# mt_codepage — Windows ANSI code pages (874/932/936/949/950/1250-1258) from Microsoft's WindowsBestFit
# tables; codepage_tables.inc is generated by scripts/gen_codepage_tables.py. Used by port_logic
# (Win32Crt MultiByteToWideChar / WideCharToMultiByte) and mtnet (40250 CP936 wire text), in place of
# the host iconv.
add_library(mt_codepage STATIC codepage.cpp)
target_include_directories(mt_codepage PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_features(mt_codepage PUBLIC cxx_std_17)
set_target_properties(mt_codepage PROPERTIES POSITION_INDEPENDENT_CODE ON)