-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4df83d0
commit f48e35d
Showing
2 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
packages/komodo_defi_framework/android/app/src/main/cpp/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cmake_minimum_required(VERSION 3.15) | ||
|
||
# Project-level configuration. | ||
set(PROJECT_NAME "komodo_defi_framework") | ||
project(${PROJECT_NAME} LANGUAGES CXX) | ||
|
||
find_library(log-lib log) | ||
find_package(ZLIB) | ||
|
||
set(IMPORT_DIR ${CMAKE_SOURCE_DIR}/libs) | ||
|
||
# Shared library | ||
set(PLUGIN_NAME "${PROJECT_NAME}_plugin") | ||
|
||
# Invoke the build for native code shared with the other target platforms. | ||
# This can be changed to accommodate different builds. | ||
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../src" "${CMAKE_CURRENT_BINARY_DIR}/shared") | ||
|
||
set(komodo_defi_framework_bundled_libraries | ||
|
||
# Defined in ../src/CMakeLists.txt. | ||
# This can be changed to accommodate different builds. | ||
$<TARGET_FILE:komodo_defi_framework> | ||
${IMPORT_DIR}/${ANDROID_ABI}/libmm2.a | ||
PARENT_SCOPE | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters