1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00
FairEmail/app/CMakeLists.txt

23 lines
639 B
Text
Raw Normal View History

2020-10-14 18:54:28 +00:00
2020-10-15 06:30:38 +00:00
# https://developer.android.com/studio/projects/configure-cmake
cmake_minimum_required(VERSION 3.4.1)
2020-10-14 18:54:28 +00:00
2020-11-08 14:26:18 +00:00
add_library(fairemail SHARED
src/main/jni/fairemail.cc
2020-10-14 20:26:30 +00:00
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
)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
include_directories(src/main/jni/compact_enc_det)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
find_library(log-lib log)
2020-10-14 18:54:28 +00:00
2020-10-14 20:26:30 +00:00
add_definitions(-DHAVE_MEMRCHR)
2020-10-14 18:54:28 +00:00
2020-11-08 14:26:18 +00:00
target_compile_options(fairemail PRIVATE -Wno-c++11-narrowing)
2020-10-14 18:54:28 +00:00
2020-11-08 14:26:18 +00:00
target_link_libraries(fairemail ${log-lib})