1 Star 0 Fork 31

早上睡觉/信号实验箱

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
android_build.cmake 848 Bytes
一键复制 编辑 原始数据 按行查看 历史
set(ANDROID_PLATFORM android-21)
set(ANDROID_SDK D:/AndroidDev)
set(CMAKE_SYSTEM_NAME Android)
set(CMAKE_FIND_ROOT_PATH D:/Qt/5.15.2/android)
set(CMAKE_PREFIX_PATH ${CMAKE_FIND_ROOT_PATH}/lib/cmake/Qt5)
set(ANDROID_NATIVE_API_LEVEL 21)
set(ANDROID_DEPLOY_QT ${CMAKE_FIND_ROOT_PATH}/bin/androiddeployqt.exe)
set(ANDROID_STL c++_shared)
set(CMAKE_PROJECT_INCLUDE_BEFORE D:/Qt/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake)
set(ANDROID_ABI x86) # 改此处的值可以生成不同平台的apk, 建议直接写四份不一样的, 然后在vscode-cmake扩展里面用GUI选
set(ANDROID_BUILD_ABI_arm64-v8a OFF)
set(ANDROID_BUILD_ABI_armeabi-v7a OFF)
set(ANDROID_BUILD_ABI_x86 OFF)
set(ANDROID_BUILD_ABI_x86_64 OFF)
set(ANDROID_BUILD_ABI_${ANDROID_ABI} ON)
include(${ANDROID_SDK}/ndk/21.3.6528147/build/cmake/android.toolchain.cmake)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ZaoShangShuiJue/signal-test-box.git
git@gitee.com:ZaoShangShuiJue/signal-test-box.git
ZaoShangShuiJue
signal-test-box
信号实验箱
master

搜索帮助