You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FairEmail/app/CMakeLists.txt

23 lines
655 B

# https://developer.android.com/studio/projects/configure-cmake
cmake_minimum_required(VERSION 3.4.1)
4 years ago
add_library(compact_enc_det SHARED
src/main/jni/charset.cc
src/main/jni/compact_enc_det/compact_enc_det/compact_enc_det.cc
src/main/jni/compact_enc_det/compact_enc_det/compact_enc_det_hint_code.cc
src/main/jni/compact_enc_det/util/encodings/encodings.cc
src/main/jni/compact_enc_det/util/languages/languages.cc
)
4 years ago
include_directories(src/main/jni/compact_enc_det)
4 years ago
find_library(log-lib log)
4 years ago
add_definitions(-DHAVE_MEMRCHR)
target_compile_options(compact_enc_det PRIVATE -Wno-c++11-narrowing)
4 years ago
target_link_libraries(compact_enc_det ${log-lib})