diff --git a/app/build/generated/source/buildConfig/debug/com/example/mear/BuildConfig.java b/app/build/generated/source/buildConfig/debug/com/example/mear/BuildConfig.java deleted file mode 100644 index 591f6e4..0000000 --- a/app/build/generated/source/buildConfig/debug/com/example/mear/BuildConfig.java +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Automatically generated file. DO NOT MODIFY - */ -package com.example.mear; - -public final class BuildConfig { - public static final boolean DEBUG = Boolean.parseBoolean("true"); - public static final String APPLICATION_ID = "com.example.mear"; - public static final String BUILD_TYPE = "debug"; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = 1; - public static final String VERSION_NAME = "1.0"; -} diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index c97ab29..055c983 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -46,6 +46,14 @@ find_library( # Sets the name of the path variable. # you want CMake to locate. log ) +message(${CMAKE_ANDROID_ARCH_ABI}) + +find_library( CPPUNIT_LIBRARY NAMES libcurl curl libcurl.a curl.a + HINTS + "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/android/armeabi-v7a" + ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/android/ + ) + # Specifies libraries CMake should link to your target library. You # can link multiple libraries, such as libraries you define in this # build script, prebuilt third-party libraries, or system libraries. @@ -53,6 +61,7 @@ find_library( # Sets the name of the path variable. target_link_libraries( # Specifies the target library. native-lib PRIVATE nlohmann_json::nlohmann_json + ${CPPUNIT_LIBRARY} # Links the target library to the log library # included in the NDK.