1 Star 0 Fork 0

2439905184 / NimHelloJNI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
buildnim.sh 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
2439905184 提交于 2022-09-25 19:57 . ✨ feat: 更新并升级版本
# I'm not sure this is correct and don't have a Bash shell to check it...
# the androidNDK define as used below turns on the ability so that echo text is
# output to the Android Logcat logging facilities, which could be handy in assisting debugging...
# remove all the results of older bulid's...
rm -f -d -r app/src/main/cpp/arm
rm -f -d -r app/src/main/cpp/arm64
rm -f -d -r app/src/main/cpp/x86
rm -f -d -r app/src/main/cpp/x86_64
# compile for each of the ANDROID_ABI's...
nim c -c -d:noSignalHandler -d:danger -d:release -d:androidNDK \
--cpu:arm --os:android --noMain:on \
--nimcache:app/src/main/cpp/arm app/src/main/nim/hello_jni
nim c -c -d:noSignalHandler -d:danger -d:release -d:androidNDK \
--cpu:arm64 --os:android --noMain:on \
--nimcache:app/src/main/cpp/arm64 app/src/main/nim/hello_jni
nim c -c -d:noSignalHandler -d:danger -d:release -d:androidNDK \
--cpu:i386 --os:android --noMain:on \
--nimcache:app/src/main/cpp/x86 app/src/main/nim/hello_jni
nim c -c -d:noSignalHandler -d:danger -d:release -d:androidNDK \
--cpu:amd64 --os:android --noMain:on \
--nimcache:app/src/main/cpp/x86_64 app/src/main/nim/hello_jni
1
https://gitee.com/h128/NimHelloJNI.git
git@gitee.com:h128/NimHelloJNI.git
h128
NimHelloJNI
NimHelloJNI
master

搜索帮助