Skip to content

Commit e17b0c9

Browse files
committed
Add building libTrustWalletCore.dylib for kotlin lib
1 parent 2cb8baf commit e17b0c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/kotlin-build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ if [[ `uname` == "Darwin" ]]; then
66
export BOOST_ROOT=$(brew --prefix boost)
77
fi
88

9+
# Build libTrustWalletCore.dylib
10+
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DTW_UNITY_BUILD=ON -DTW_COMPILE_JAVA=ON -DTW_COMPILE_KOTLIN=ON -GNinja
11+
ninja -Cbuild
12+
mv build/libTrustWalletCore.dylib kotlin/wallet-core-kotlin/src/jvmMain/resources/jni/macos-arm64/
13+
914
pushd kotlin
1015
./gradlew :wallet-core-kotlin:generateProtos
1116
./gradlew :wallet-core-kotlin:assemble

0 commit comments

Comments
 (0)