File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22.vscode /
33.idea /
44.gradle /
5- build * /
5+ build * /
6+
7+ debug.keystore
Original file line number Diff line number Diff line change @@ -108,6 +108,8 @@ cmake -B build-android ^
108108 -DCMAKE_SYSTEM_NAME=Android ^
109109 -DCMAKE_SYSTEM_VERSION=32 ^
110110 -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a
111+ # Same, but as a single line. Nicer if not using a .bat
112+ cmake -B build-android -G Ninja -DCMAKE_ANDROID_NDK=%ANDROID_NDK_HOME% -DCMAKE_SYSTEM_NAME=Android -DCMAKE_SYSTEM_VERSION=32 -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a
111113# Build an APK, install, and run it
112114cmake --build build-android -j8 --target run
113115# Or just build an APK
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ find_program(KEYTOOL NAMES keytool REQUIRED PATHS ${JAVA_HOME_BIN})
7474###############################################################################
7575
7676# Set default keystore variables
77- set (DEFAULT_KEYSTORE "${CMAKE_CURRENT_BINARY_DIR} /debug.keystore" )
77+ set (DEFAULT_KEYSTORE "${CMAKE_CURRENT_SOURCE_DIR} /android /debug.keystore" )
7878set (DEFAULT_KEYSTORE_ALIAS "androiddebugkey" )
7979set (DEFAULT_KEYSTORE_PASS "android" )
8080set (DEFAULT_KEY_ALIAS_PASS "android" )
You can’t perform that action at this time.
0 commit comments